lib/httpx/channel/http1.rb in httpx-0.0.1 vs lib/httpx/channel/http1.rb in httpx-0.0.2
- old
+ new
@@ -149,10 +149,10 @@
# server doesn't handle pipelining, and probably
# doesn't support keep-alive. Fallback to send only
# 1 keep alive request.
@max_concurrent_requests = 1
end
- emit(:complete)
+ emit(:close)
end
private
def set_request_headers(request)