lib/async/http/protocol/http1/server.rb in async-http-0.46.1 vs lib/async/http/protocol/http1/server.rb in async-http-0.46.2
- old
+ new
@@ -51,14 +51,9 @@
end
# Server loop.
def each(task: Task.current)
while request = next_request
- Async.logger.debug(self) do |buffer|
- buffer.puts "Incoming request: #{request.authority} #{request.method} #{request.path} #{request.version}"
- buffer.puts "Incoming headers: #{request.headers}"
- end
-
response = yield(request, self)
return if @stream.nil? or @stream.closed?
if response