|
|
@ -200,9 +200,12 @@ class DenyFrame < Kemal::Handler
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# Temp fix for https://github.com/crystal-lang/crystal/issues/7383
|
|
|
|
# Temp fix for https://github.com/crystal-lang/crystal/issues/7383
|
|
|
|
class HTTP::Client
|
|
|
|
class HTTP::UnknownLengthContent
|
|
|
|
private def handle_response(response)
|
|
|
|
def read_byte
|
|
|
|
# close unless response.keep_alive?
|
|
|
|
ensure_send_continue
|
|
|
|
response
|
|
|
|
if @io.is_a?(OpenSSL::SSL::Socket::Client)
|
|
|
|
|
|
|
|
return if @io.as(OpenSSL::SSL::Socket::Client).@in_buffer_rem.empty?
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
@io.read_byte
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|