curl-library
Re: HTTP2 and SPDY
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Jan 2014 18:01:34 +0100 (CET)
Date: Thu, 30 Jan 2014 18:01:34 +0100 (CET)
On Fri, 31 Jan 2014, Tatsuhiro Tsujikawa wrote:
> OK, I understand the expected behavior of the program. Now the attached
> patch fixes the problem. The above command now shows response body.
Excellent, and now I also understood exactly what was going on there! =)
There are at least two problems remaining that I'll address next:
1 - we treat the first body data as a header so the first byte gets dropped
from the data and that's why we "hang" at the end.
2 - we still use the content-length size to figure out how much data to read
instead of relying on end of stream.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-01-30