mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Do not automatically use chunked responses when hijacked
This commit is contained in:
parent
0d4016a999
commit
305478e3b9
1 changed files with 1 additions and 1 deletions
|
@ -643,7 +643,7 @@ module Puma
|
|||
if content_length
|
||||
lines.append CONTENT_LENGTH_S, content_length.to_s, line_ending
|
||||
chunked = false
|
||||
elsif allow_chunked
|
||||
elsif !response_hijack and allow_chunked
|
||||
lines << TRANSFER_ENCODING_CHUNKED
|
||||
chunked = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue