HttpClient resuing the same connection

"이희승 (Trustin Lee)" trustin at gmail.com
Wed Jun 3 05:29:02 EDT 2009


On 15-May-2009 17:54, rajks wrote:
 > Danny Tai wrote:
>> But, please note
>> HTTPconnection works in one way  communication. That means you can
>> only send or receive  at one time. So if there are  many and
>> continuous requests, it is a chance server cann't response
>> immediately.

Strictly speaking, nobody stops an HTTP client from sending a request 
before receiving the response for the previous request.  It's completely 
legal in HTTP and it's called 'Connection Pipelining':

  * http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html

HTH,
Trustin



More information about the netty-users mailing list