Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeu2000 committed Nov 23, 2016
1 parent f52efc6 commit 623304b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http/2/connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def receive(data)
when :headers
# When server receives even-numbered stream identifier,
# the endpoint MUST respond with a connection error of type PROTOCOL_ERROR.
connection_error if frame[:stream].even? && is_a?(Server)
connection_error if frame[:stream].even? && self.is_a?(Server)

# The last frame in a sequence of HEADERS/CONTINUATION
# frames MUST have the END_HEADERS flag set.
Expand Down

0 comments on commit 623304b

Please sign in to comment.