lib/async/http/protocol/http2.rb in async-http-0.27.12 vs lib/async/http/protocol/http2.rb in async-http-0.27.13
- old
+ new
@@ -241,10 +241,10 @@
Async.logger.error(request) {$!}
end
class Response < Protocol::Response
def initialize(protocol, stream)
- super(self.version, nil, nil, Headers.new, Body::Writable.new)
+ super(protocol.version, nil, nil, Headers.new, Body::Writable.new)
@protocol = protocol
@stream = stream
end