if (!connStrategy.keepAlive(response, context)) {
conn.close();
}
This throws and exception if response is null. I'm new to HttpCore
(experience is all in HttpClient), but I assume that you'd want this, but
please correct me if I'm wrong. My hope would be to keep a connection alive
whenever possible.
if (response != null && !connStrategy.keepAlive(response, context)) {
conn.close();
}
--
View this message in context:
http://www.nabble.com/HttpClient-performance-tp22838346p23141362.html
Sent from the HttpClient-User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]