Răsfoiți Sursa

[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'"]}}
Petrik de Heus 1 lună în urmă
părinte
comite
500c39119b
1 a modificat fișierele cu 49 adăugiri și 31 ștergeri
  1. 49 31
      frameworks/Ruby/rails/Gemfile.lock

+ 49 - 31
frameworks/Ruby/rails/Gemfile.lock

@@ -75,43 +75,49 @@ GEM
       securerandom (>= 0.3)
       tzinfo (~> 2.0, >= 2.0.5)
       uri (>= 0.13.1)
-    async (2.23.0)
+    async (2.34.0)
       console (~> 1.29)
       fiber-annotation
-      io-event (~> 1.9)
+      io-event (~> 1.11)
       metrics (~> 0.12)
-      traces (~> 0.15)
-    async-container (0.24.0)
+      traces (~> 0.18)
+    async-container (0.27.7)
       async (~> 2.22)
-    async-container-supervisor (0.5.1)
-      async-container (~> 0.22)
+    async-container-supervisor (0.8.0)
       async-service
       io-endpoint
+      memory (~> 0.7)
       memory-leak (~> 0.5)
-    async-http (0.87.0)
+      process-metrics
+    async-http (0.92.1)
       async (>= 2.10.2)
-      async-pool (~> 0.9)
+      async-pool (~> 0.11)
       io-endpoint (~> 0.14)
       io-stream (~> 0.6)
       metrics (~> 0.12)
       protocol-http (~> 0.49)
       protocol-http1 (~> 0.30)
       protocol-http2 (~> 0.22)
+      protocol-url (~> 0.2)
       traces (~> 0.10)
-    async-http-cache (0.4.5)
+    async-http-cache (0.4.6)
       async-http (~> 0.56)
-    async-pool (0.10.3)
-      async (>= 1.25)
-    async-service (0.13.0)
+    async-pool (0.11.0)
+      async (>= 2.0)
+    async-service (0.14.4)
       async
       async-container (~> 0.16)
+      string-format (~> 0.2)
+    bake (0.24.1)
+      bigdecimal
+      samovar (~> 2.1)
     base64 (0.3.0)
     benchmark (0.4.1)
     bigdecimal (3.2.2)
     builder (3.3.0)
     concurrent-ruby (1.3.5)
     connection_pool (2.5.3)
-    console (1.30.0)
+    console (1.34.2)
       fiber-annotation
       fiber-local (~> 1.1)
       json
@@ -119,10 +125,10 @@ GEM
     date (3.4.1)
     drb (2.2.3)
     erubi (1.13.1)
-    falcon (0.51.1)
+    falcon (0.52.4)
       async
       async-container (~> 0.20)
-      async-container-supervisor (~> 0.5.0)
+      async-container-supervisor (~> 0.6)
       async-http (~> 0.75)
       async-http-cache (~> 0.4)
       async-service (~> 0.10)
@@ -135,22 +141,22 @@ GEM
     fiber-annotation (0.2.0)
     fiber-local (1.1.0)
       fiber-storage
-    fiber-storage (1.0.0)
+    fiber-storage (1.0.1)
     globalid (1.2.1)
       activesupport (>= 6.1)
     i18n (1.14.7)
       concurrent-ruby (~> 1.0)
     io-console (0.8.0)
     io-endpoint (0.15.2)
-    io-event (1.9.0)
-    io-stream (0.6.1)
+    io-event (1.14.0)
+    io-stream (0.11.0)
     iodine (0.7.58)
     irb (1.15.1)
       pp (>= 0.6.0)
       rdoc (>= 4.0.0)
       reline (>= 0.4.2)
-    json (2.11.3)
-    localhost (1.3.1)
+    json (2.15.2)
+    localhost (1.6.0)
     logger (1.7.0)
     loofah (2.24.1)
       crass (~> 1.0.2)
@@ -160,13 +166,18 @@ GEM
       net-imap
       net-pop
       net-smtp
-    mapping (1.1.1)
+    mapping (1.1.3)
     marcel (1.0.4)
-    memory-leak (0.5.2)
-    metrics (0.12.2)
+    memory (0.7.1)
+      bake (~> 0.15)
+      console
+      msgpack
+    memory-leak (0.7.0)
+    metrics (0.15.0)
     mini_mime (1.1.5)
     mini_portile2 (2.8.9)
     minitest (5.25.5)
+    msgpack (1.8.0)
     net-imap (0.5.7)
       date
       net-protocol
@@ -184,7 +195,7 @@ GEM
       racc (~> 1.4)
     nokogiri (1.18.9-x86_64-linux-gnu)
       racc (~> 1.4)
-    openssl (3.3.0)
+    openssl (3.3.2)
     pg (1.5.9)
     pitchfork (0.17.0)
       logger
@@ -192,23 +203,29 @@ GEM
     pp (0.6.2)
       prettyprint
     prettyprint (0.2.0)
+    process-metrics (0.6.0)
+      console (~> 1.8)
+      json (~> 2)
+      samovar (~> 2.1)
     protocol-hpack (1.5.1)
-    protocol-http (0.49.0)
-    protocol-http1 (0.30.0)
+    protocol-http (0.55.0)
+    protocol-http1 (0.35.2)
       protocol-http (~> 0.22)
-    protocol-http2 (0.22.1)
+    protocol-http2 (0.23.0)
       protocol-hpack (~> 1.4)
       protocol-http (~> 0.47)
-    protocol-rack (0.11.2)
+    protocol-rack (0.16.0)
+      io-stream (>= 0.10)
       protocol-http (~> 0.43)
       rack (>= 1.0)
+    protocol-url (0.4.0)
     psych (5.2.3)
       date
       stringio
     puma (7.1.0)
       nio4r (~> 2.0)
     racc (1.8.1)
-    rack (3.2.0)
+    rack (3.2.3)
     rack-session (2.1.1)
       base64 (>= 0.1.0)
       rack (>= 3.0.0)
@@ -255,14 +272,15 @@ GEM
       connection_pool
     reline (0.6.0)
       io-console (~> 0.5)
-    samovar (2.3.0)
+    samovar (2.4.1)
       console (~> 1.0)
       mapping (~> 1.0)
     securerandom (0.4.1)
+    string-format (0.2.0)
     stringio (3.1.7)
     thor (1.4.0)
     timeout (0.4.3)
-    traces (0.15.2)
+    traces (0.18.2)
     trilogy (2.8.1)
     tsort (0.2.0)
     tzinfo (2.0.6)