Hi Robert, > One thing with the example code that looks suspicious to me is the keep > alive handling both the client and the server contains something like: > if (!this.connStrategy.keepAlive(response, context)) { > conn.close(); > } > > Sure it is only a few lines of code, but why not say that client and > server always close the connection and then handle persistent > connections on a higher level (by the connection manager or whatever it > is called). > The current code demands that all users of http client does the right > thing with regards to keep alive.
There currently is no HttpClient 4.0. We only have HttpCore. We'll add automatic keep-alive handling in the HttpClient. The examples just show that keep-alive is possible with HttpCore alone. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]