diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-09-07 18:22:54 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-09-07 18:29:03 +0200 |
commit | 18a758d9078f506ecfb995ef5ece46a83887a5da (patch) | |
tree | 1ee558e8d628fedf78acb7a207d645705bbbab35 /docs/examples | |
parent | 7aea2d522df515a71447998e9875638ccac7b4b5 (diff) |
chunky parser: only rewind if needed
The code reading chunked encoding attempts to rewind the code if it had
read more data than the chunky parser consumes. The rewinding can fail
and it will then cause an error. This change now makes the rewinding
only happen if pipelining is in use - as that's the only time it really
needs to be done.
Bug: http://curl.haxx.se/mail/lib-2010-08/0297.html
Reported by: Ron Parker
Diffstat (limited to 'docs/examples')
0 files changed, 0 insertions, 0 deletions