hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Infinite loop in ChunkedInputStream.close
Date Thu, 19 Nov 2009 21:29:29 GMT
kenneth.s.brooks@chase.com wrote:
> Oleg,
> 
> I have a network capture from a week or so ago.
> This is between the loadbalancer and the server. (We're working on
> getting the capture from the client to the loadbalancer).
> 
> It shows that we are getting one packet back with data and ending with
> 0d 0a.
> The next packet ends with 30 30 30 30 0d 0a 0d 0a. 
> 
> So at least from the server to the loadbalancer it appears that we are
> getting the same closing chunk for good and bad requests.
> 
> You said that it should end with <CR><LF>0<CR><LF>, but on all
of our
> requests it ends with 30 30 30 30 0d 0a 0d 0a (which is 0 0 0 0 CR LF CR
> LF).
> Is that what you would expect?
> 

RFC 2616
3.6.1 Chunked Transfer Coding

---
last-chunk     = 1*("0") [ chunk-extension ] CRLF
---

There appears to be an extra CR LF pair at the end but this should not 
cause a major problem. Otherwise looks all right.

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message