async-http
async-http copied to clipboard
``` 2m47s error: [pid=9682] [2019-07-24 21:13:04 +1200] | NoMethodError: undefined method `available_frame_size' for nil:NilClass | → /home/samuel/.rvm/gems/ruby-2.6.3/gems/async-http-0.47.0/lib/async/http/protocol/http2/stream.rb:80 in `write' | /home/samuel/.rvm/gems/ruby-2.6.3/gems/async-http-0.47.0/lib/async/http/body/stream.rb:99 in `write' | /home/samuel/.rvm/gems/ruby-2.6.3/gems/protocol-websocket-0.7.3/lib/protocol/websocket/frame.rb:203 in `write' | /home/samuel/.rvm/gems/ruby-2.6.3/gems/protocol-websocket-0.7.3/lib/protocol/websocket/framer.rb:70 in...
Apologies in advance for this vague issue report, but I thought I should post something just in case future Googlers run into this issue, or maybe someone has an idea...
Whenever the application performs hijacking of http/1.1 connection, the server must not attempt to send any response back to the client. Prior to this change, it was not the case...
When a connection gets hijacked by ActionCable, the HTTP1 server crashes the task – this seems to be a somewhat-known issue, has been mentioned in multiple places and indeed seems...
Remove the `async-io` dependency. ## Types of Changes - Performance improvement. - Maintenance. ## Contribution - [x] I added tests for my changes. - [x] I tested my changes locally....
This PR adds `Async::HTTP::Protocol::HTTP` which auto-detects HTTP1 vs HTTP2 for inbound (server) connections. It is comparable to `Async::HTTP::Protocol::HTTPS`, just for http:// instead. It uses HTTP/2 Connection Preface detection, outlined in...
In testing moving a Goliath/EventMachine app to Falcon/Async, we found that request using `async-http` was a bit slower. In profiling `async-http`, I noticed 89% of the time was taken in...
I've been exploring paths for setting timeouts for both HTTP servers and clients. My goal is specific timeouts at different stages in the request/response lifecycle. This is more pronounced on...
I've noticed a couple of issues related to the Connection header and the HTTP/1.x version returned in responses. #### 1. HTTP/1.x response versions don't match the request, causing ambiguity when...
Exploratory PR to add request & response hooks for the primary purpose of configuring multiple timeouts. Potentially useful for metrics or other things too. Part 1/2: socketry/protocol-http1#21 Part 2/2: this...