Hi Everyone,

Quick question about 
org.apache.vysper.xmpp.extension.xep0124.BoshServlet.doPost(). At the very 
beginning of the method is the following check:


BoshResponse boshResponse = (BoshResponse) req.getAttribute("response");
if (boshResponse != null) {
        // if the continuation is resumed or expired
        writeResponse(resp, boshResponse);
        return;
}

Under what conditions is the boshResponse not null, and where does it get set? 
I'm just confused as to why the check is happening at the very beginning of the 
method, before any other processing occurs.

Thanks,
Mike

Reply via email to