diff options
-rw-r--r-- | lib/yahns/proxy_http_response.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/yahns/proxy_http_response.rb b/lib/yahns/proxy_http_response.rb index a23c21d..c8a2a42 100644 --- a/lib/yahns/proxy_http_response.rb +++ b/lib/yahns/proxy_http_response.rb @@ -168,6 +168,7 @@ module Yahns::HttpResponse # :nodoc: tmp = chunk_out(tmp) if alive wbuf = proxy_write(wbuf, tmp, alive) when nil + wbuf = proxy_write(wbuf, "0\r\n\r\n".freeze, true) if alive req_res.shutdown break when :wait_readable |