Skip to content

Commit e9e389f

Browse files
committed
Fix constant resolution.
1 parent 8ed0b56 commit e9e389f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/async/http/protocol/http1/connection.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def http2?
4343
end
4444

4545
def peer
46-
@peer ||= Protocol::HTTP::Peer.for(@stream.io)
46+
@peer ||= ::Protocol::HTTP::Peer.for(@stream.io)
4747
end
4848

4949
attr :count

lib/async/http/protocol/http2/connection.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def read_in_background(parent: Task.current)
113113
attr :promises
114114

115115
def peer
116-
@peer ||= Protocol::HTTP::Peer.for(@stream.io)
116+
@peer ||= ::Protocol::HTTP::Peer.for(@stream.io)
117117
end
118118

119119
attr :count

0 commit comments

Comments
 (0)