lib/async/http/protocol/http1/server.rb in async-http-0.51.3 vs lib/async/http/protocol/http1/server.rb in async-http-0.51.4
- old
+ new
@@ -54,9 +54,11 @@
raise
end
# Server loop.
def each(task: Task.current)
+ task.annotate("#{version} reading requests for #{self.class}.")
+
while request = next_request
response = yield(request, self)
return if @stream.nil? or @stream.closed?