async-http
async-http copied to clipboard
``` 0.3s error: Bake::Command [ec=0xb54] [pid=47378] [2023-06-26 10:34:10 +0900] | EOFError: Expected 5142 bytes, 5142 bytes short! | → /Users/samuel/.gem/ruby/3.2.1/gems/async-http-0.60.2/lib/async/http/protocol/http2/input.rb:32 in `read' | /Users/samuel/.gem/ruby/3.2.1/gems/protocol-http-0.24.3/lib/protocol/http/body/readable.rb:69 in `each' | /Users/samuel/.gem/ruby/3.2.1/gems/protocol-http-0.24.3/lib/protocol/http/body/buffered.rb:31 in `for'...
I notice while async-http is running, after a few minutes I will get a `Protocol::HTTP2::GoawayError`, and then immediately after get `OpenSSL::SSL::SSLError: SSL_write` In the short term, can I just rescue...
`URI::HTTP` objects do not define a `to_str` method, so call `to_s` on the `uri` instead. ## Types of Changes - Bug fix. ## Contribution - [x] I added tests for...
I needed to write a simple task specific HTTP reverse-proxy. I spiked out the initial version in Go, but we're a Ruby shop, so I then attempted to translate it...
https://github.com/socketry/cloudflare ``` 3.1.2 :002 > ::Cloudflare.connect(token: token) { |connection| puts zone = connection.zones.find_by_name("easyproject.cz") } 0.12s warn: Async::Task [oid=0x2c434] [ec=0x2c448] [pid=17591] [2023-02-03 11:03:06 +0100] | Task may have ended with unhandled...
The initial graceful stop implementation was okay, but has some issues that will be revealed by extensive testing. ## Types of Changes - Bug fix. - Maintenance. ## Contribution -...
Since #153, it seems that `task.stop` can no longer forcefully stop an HTTP server task. In testing, consider something like this: ``` ### async-http enabled app server = Async::HTTP::Server.new(...) server_task...
HTTP/1 response upgrade header should only have a single value. ## Types of Changes - Maintenance. ## Contribution - [ ] I added tests for my changes. - [ ]...
```` 0.0s warn: Async::Task [oid=0x244] [ec=0x258] [pid=13816] [2024-06-21 15:10:44 +0800] | Task may have ended with unhandled exception. | Errno::EBADF: Bad file descriptor @ io_fillbuf - fd:5 C:/WINDOWS/System32/drivers/etc/hosts | →...