Skip to content

Commit

Permalink
Fix constant resolution.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 9, 2024
1 parent 8ed0b56 commit e9e389f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/async/http/protocol/http1/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def http2?
end

def peer
@peer ||= Protocol::HTTP::Peer.for(@stream.io)
@peer ||= ::Protocol::HTTP::Peer.for(@stream.io)
end

attr :count
Expand Down
2 changes: 1 addition & 1 deletion lib/async/http/protocol/http2/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def read_in_background(parent: Task.current)
attr :promises

def peer
@peer ||= Protocol::HTTP::Peer.for(@stream.io)
@peer ||= ::Protocol::HTTP::Peer.for(@stream.io)
end

attr :count
Expand Down

0 comments on commit e9e389f

Please sign in to comment.