このコミットが含まれているのは:
Omar Roth 2019-05-05 17:47:45 -05:00
コミット 65a32d6e20
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: B8254FB7EC3D37F2
1個のファイルの変更7行の追加4行の削除

ファイルの表示

@ -200,9 +200,12 @@ class DenyFrame < Kemal::Handler
end
# Temp fix for https://github.com/crystal-lang/crystal/issues/7383
class HTTP::Client
private def handle_response(response)
# close unless response.keep_alive?
response
class HTTP::UnknownLengthContent
def read_byte
ensure_send_continue
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