diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-02-20 04:33:31 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-02-20 05:13:51 +0100 |
commit | 0e5655694c844f93e1fdd044d873c2661cb00742 (patch) | |
tree | 855854f43017b6979ae69dd5a4334c8beb79ca29 /modules/csg | |
parent | 10e48212608f1fa75fed1dade9551408b30f484e (diff) |
Fix HTTPClient keep alive with chunked encoding.
We need to consume the trailer part and final CRLF after last chunk
as per RFC 7230 section 4.1:
```
chunked-body = *chunk
last-chunk
trailer-part
CRLF
```
We do not return the trailer part, just consume it allowing following
requests to work as expected when using keep alive.
Diffstat (limited to 'modules/csg')
0 files changed, 0 insertions, 0 deletions