[ruby/rails] Update protocol-http1 to handle warnings (#10147) (#10215)
Fixes the following errors:
rails-falcon:
{"time":"2025-10-14T19:50:12+00:00","severity":"warn","oid":36232,"pid":215,"subject":"Async::Task","annotation":"Reading
HTTP/1.1 requests for
Async::HTTP::Protocol::HTTP1::Server.","message":"Task may have
ended with unhandled
exception.","event":{"type":"failure","root":"/rails","class":"Errno::ECONNRESET","message":"Connection
reset by
peer","backtrace":["/usr/local/lib/ruby/3.5.0+0/socket.rb:457:in
'BasicSocket#__read_nonblock'","/usr/local/lib/ruby/3.5.0+0/socket.rb:457:in
'BasicSocket#read_nonblock'","/usr/local/bundle/gems/io-stream-0.6.1/lib/io/stream/buffered.rb:114:in
'IO::Stream::Buffered#sysread'","/usr/local/bundle/gems/io-stream-0.6.1/lib/io/stream/generic.rb:327:in
'IO::Stream::Generic#fill_read_buffer'","/usr/local/bundle/gems/io-stream-0.6.1/lib/io/stream/generic.rb:164:in
'IO::Stream::Generic#gets'","/usr/local/bundle/gems/protocol-http1-0.30.0/lib/protocol/http1/connection.rb:289:in
'Protocol::HTTP1::Connection#read_line?'","/usr/local/bundle/gems/protocol-http1-0.30.0/lib/protocol/http1/connection.rb:304:in
'Protocol::HTTP1::Connection#read_request_line'","/usr/local/bundle/gems/protocol-http1-0.30.0/lib/protocol/http1/connection.rb:318:in
'Protocol::HTTP1::Connection#read_request'","/usr/local/bundle/gems/async-http-0.87.0/lib/async/http/protocol/http1/request.rb:26:in
'Async::HTTP::Protocol::HTTP1::Request.read'","/usr/local/bundle/gems/async-http-0.87.0/lib/async/http/protocol/http1/server.rb:48:in
'Async::HTTP::Protocol::HTTP1::Server#next_request'","/usr/local/bundle/gems/async-http-0.87.0/lib/async/http/protocol/http1/server.rb:65:in
'Async::HTTP::Protocol::HTTP1::Server#each'","/usr/local/bundle/gems/async-http-0.87.0/lib/async/http/server.rb:50:in
'Async::HTTP::Server#accept'","/usr/local/bundle/gems/falcon-0.51.1/lib/falcon/server.rb:57:in
'Falcon::Server#accept'","/usr/local/bundle/gems/io-endpoint-0.15.2/lib/io/endpoint/wrapper.rb:216:in
'block (2 levels) in
IO::Endpoint::Wrapper#accept'","/usr/local/bundle/gems/async-2.23.0/lib/async/task.rb:200:in
'block in
Async::Task#run'","/usr/local/bundle/gems/async-2.23.0/lib/async/task.rb:438:in
'block in Async::Task#schedule'"]}}