async-http
async-http copied to clipboard
I'm curious why the decision was made to [take positional](https://github.com/socketry/async-http/blob/v0.51.2/lib/async/http/internet.rb#L65), rather than keyword args in a modern library like this. ```ruby internet.post("https://httpbin.org/anything", body: body) ``` seems preferable to ```ruby internet.post("https://httpbin.org/anything",...
This provides some basic building blocks for mocking up `Async::HTTP::Client` in the same process. https://github.com/socketry/async-http/issues/35
This PR introduces changes that allow passing custom `Async::HTTP::Endpoint` to `Async::HTTP::Internet`. This could be useful for example when we need to provide custom SSL options to requests.
Sidekiq task got stuck sometimes in busy queue when using Async-http and perform multiple simultaneous requests to third party. Some methods i have tried is apply timeout to tasks and...
``` Failures: 1) Async::HTTP::Client Async::HTTP::Protocol::HTTPS can request remote resource Failure/Error: self.receive_initial_headers(super, frame.end_stream?) Protocol::HPACK::CompressionError: Index 67 too large! # /home/samuel/.gem/ruby/2.7.1/gems/protocol-hpack-1.4.2/lib/protocol/hpack/context.rb:156:in `dereference' # /home/samuel/.gem/ruby/2.7.1/gems/protocol-hpack-1.4.2/lib/protocol/hpack/context.rb:182:in `decode' # /home/samuel/.gem/ruby/2.7.1/gems/protocol-hpack-1.4.2/lib/protocol/hpack/decompressor.rb:159:in `decode' # /home/samuel/.gem/ruby/2.7.1/gems/protocol-http2-0.14.2/lib/protocol/http2/connection.rb:129:in `decode_headers' #...
Consider adding debug logging re automatic gzip handling etc #68 - So consider moving Falcon::Middleware::Verbose to Async::HTTP. - Enable for Async::HTTP::Internet when `$VERBOSE`. - Improve output formatting. Add documentation: -...
https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md
Regarding https://github.com/socketry/async-http/issues/34 and https://github.com/bblimke/webmock/issues/858 It would be great to know how to improve support for WebMock. Potentially, we could integrate most of the mocking behaviour into `async-http` and provide some...
``` 17.38s error: Async::Task [oid=0x5035c] [pid=820043] [2020-02-04 23:11:33 +1300] | NoMethodError: undefined method `available_frame_size' for nil:NilClass | → /home/samuel/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/async-http-0.50.2/lib/async/http/protocol/http2/stream.rb:82 in `write' | /home/samuel/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/async-http-0.50.2/lib/async/http/body/stream.rb:125 in `write' | /home/samuel/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/protocol-websocket-0.7.4/lib/protocol/websocket/frame.rb:203 in `write' |...
Hey @ioquatix, Sorry for the delay, I finally got back to digging into this. I'm not sure if this is jruby specific or if it is something else, but I...