Peter Soles wrote:
Thanks for the response and the pointers to your code. I'll definitely take
a look!
I'm not clearing the read event notifications in the persistent connection.
In my code, the connection is "born" when I get it from I
NHttpClientHandler.connected() and I just place it on my re-use queue at the
end of HttpRequestExecutionHandler.handleResponse(). When I need to re-use,
I just check NHttpClientConnection.getStatus == ACTIVE and
NHttpClientConnection.isOpen() == true.
Should I be calling NHttpClientConnection.resetOutput()/resetInput() before
I try and re-use the connection?
thanks again!
Peter
Sorry for not being specific enough. Do you call
NHttpClientConnection#suspendInput() anywhere in your code prior to
putting the connection on the re-use queue?
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]