diff options
author | Jeremy Evans <code@jeremyevans.net> | 2021-03-01 13:48:06 -0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-04-14 00:11:26 +0900 |
commit | 0579486f154e80d17521494003dcd2499ef74688 (patch) | |
tree | 2ca38db1c646e8497a14db7be23b990c853b6807 /siphash.h | |
parent | 54b53e2c8fc06e708232e399e3970fd0ecc5c4a5 (diff) | |
download | ruby-0579486f154e80d17521494003dcd2499ef74688.tar.gz |
[ruby/net-http] Update the content-length heading when decoding bodies
Previously, the content-encoding header was removed and the body
was modified, but the content-length header was not modified,
resulting in the content-length header not matching the body
length.
Don't delete content-length before yielding inflate body, as that
causes a switch to read the entire body instead of reading in
chunks.
Fixes [Bug #16672]
https://github.com/ruby/net-http/commit/58284e9710
Co-authored-by: st0012 <stan001212@gmail.com>
Diffstat (limited to 'siphash.h')
0 files changed, 0 insertions, 0 deletions