Skip to content

Commit a4ebb62

Browse files
committed
Minor fixes to logging.
1 parent f93b454 commit a4ebb62

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/protocol/http2/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def consume_window(size = self.available_size)
474474
# Return if there is no window to consume:
475475
return unless size > 0
476476

477-
# Console.logger.debug(self) do |buffer|
477+
# Console.info(self) do |buffer|
478478
# @dependencies.each do |id, dependency|
479479
# buffer.puts "- #{dependency}"
480480
# end

lib/protocol/http2/stream.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def process_headers(frame)
275275
end
276276

277277
protected def ignore_headers(frame)
278-
# Async.logger.warn(self) {"Received headers in state: #{@state}!"}
278+
# Console.warn(self) {"Received headers in state: #{@state}!"}
279279
end
280280

281281
def receive_headers(frame)
@@ -316,7 +316,7 @@ def process_data(frame)
316316
end
317317

318318
def ignore_data(frame)
319-
# Async.logger.warn(self) {"Received headers in state: #{@state}!"}
319+
# Console.warn(self) {"Received headers in state: #{@state}!"}
320320
end
321321

322322
# DATA frames are subject to flow control and can only be sent when a stream is in the "open" or "half-closed (remote)" state. The entire DATA frame payload is included in flow control, including the Pad Length and Padding fields if present. If a DATA frame is received whose stream is not in "open" or "half-closed (local)" state, the recipient MUST respond with a stream error of type STREAM_CLOSED.

0 commit comments

Comments
 (0)