It's wrong to set "Transfer-Encoding: chunked" on any response
without an entity body.  This confused curl -T- when I triggered
a rare 204 response...  Fortunately, yahns is not used in a
capacity where it's failure would start World War III.

Eric Wong (2):
      response: do not set chunked header on bodyless responses
      proxy_pass: do not chunk on bodyless upstream responses

 lib/yahns/http_response.rb       |  4 ++--
 lib/yahns/proxy_http_response.rb |  2 +-
 test/test_auto_chunk.rb          | 22 +++++++++++++++++++++-
 test/test_proxy_pass.rb          | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 57 insertions(+), 4 deletions(-)
--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/

Reply via email to