We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b235a80 commit 44f922dCopy full SHA for 44f922d
lib/async/http/protocol/http1/server.rb
@@ -15,10 +15,10 @@ module HTTP1
15
class Server < Connection
16
def fail_request(status)
17
@persistent = false
18
- write_response(@version, status, {}, nil)
+ write_response(@version, status, {})
19
write_body(@version, nil)
20
rescue Errno::ECONNRESET, Errno::EPIPE
21
- # Handle when connection is already closed
+ # Nothing we can do...
22
end
23
24
def next_request
@@ -110,7 +110,6 @@ def each(task: Task.current)
110
111
112
113
-
114
115
116
0 commit comments