Skip to content

Commit 500c391

Browse files
authored
[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'"]}}
1 parent 5cf3193 commit 500c391

File tree

1 file changed

+49
-31
lines changed

1 file changed

+49
-31
lines changed

frameworks/Ruby/rails/Gemfile.lock

Lines changed: 49 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -75,54 +75,60 @@ GEM
7575
securerandom (>= 0.3)
7676
tzinfo (~> 2.0, >= 2.0.5)
7777
uri (>= 0.13.1)
78-
async (2.23.0)
78+
async (2.34.0)
7979
console (~> 1.29)
8080
fiber-annotation
81-
io-event (~> 1.9)
81+
io-event (~> 1.11)
8282
metrics (~> 0.12)
83-
traces (~> 0.15)
84-
async-container (0.24.0)
83+
traces (~> 0.18)
84+
async-container (0.27.7)
8585
async (~> 2.22)
86-
async-container-supervisor (0.5.1)
87-
async-container (~> 0.22)
86+
async-container-supervisor (0.8.0)
8887
async-service
8988
io-endpoint
89+
memory (~> 0.7)
9090
memory-leak (~> 0.5)
91-
async-http (0.87.0)
91+
process-metrics
92+
async-http (0.92.1)
9293
async (>= 2.10.2)
93-
async-pool (~> 0.9)
94+
async-pool (~> 0.11)
9495
io-endpoint (~> 0.14)
9596
io-stream (~> 0.6)
9697
metrics (~> 0.12)
9798
protocol-http (~> 0.49)
9899
protocol-http1 (~> 0.30)
99100
protocol-http2 (~> 0.22)
101+
protocol-url (~> 0.2)
100102
traces (~> 0.10)
101-
async-http-cache (0.4.5)
103+
async-http-cache (0.4.6)
102104
async-http (~> 0.56)
103-
async-pool (0.10.3)
104-
async (>= 1.25)
105-
async-service (0.13.0)
105+
async-pool (0.11.0)
106+
async (>= 2.0)
107+
async-service (0.14.4)
106108
async
107109
async-container (~> 0.16)
110+
string-format (~> 0.2)
111+
bake (0.24.1)
112+
bigdecimal
113+
samovar (~> 2.1)
108114
base64 (0.3.0)
109115
benchmark (0.4.1)
110116
bigdecimal (3.2.2)
111117
builder (3.3.0)
112118
concurrent-ruby (1.3.5)
113119
connection_pool (2.5.3)
114-
console (1.30.0)
120+
console (1.34.2)
115121
fiber-annotation
116122
fiber-local (~> 1.1)
117123
json
118124
crass (1.0.6)
119125
date (3.4.1)
120126
drb (2.2.3)
121127
erubi (1.13.1)
122-
falcon (0.51.1)
128+
falcon (0.52.4)
123129
async
124130
async-container (~> 0.20)
125-
async-container-supervisor (~> 0.5.0)
131+
async-container-supervisor (~> 0.6)
126132
async-http (~> 0.75)
127133
async-http-cache (~> 0.4)
128134
async-service (~> 0.10)
@@ -135,22 +141,22 @@ GEM
135141
fiber-annotation (0.2.0)
136142
fiber-local (1.1.0)
137143
fiber-storage
138-
fiber-storage (1.0.0)
144+
fiber-storage (1.0.1)
139145
globalid (1.2.1)
140146
activesupport (>= 6.1)
141147
i18n (1.14.7)
142148
concurrent-ruby (~> 1.0)
143149
io-console (0.8.0)
144150
io-endpoint (0.15.2)
145-
io-event (1.9.0)
146-
io-stream (0.6.1)
151+
io-event (1.14.0)
152+
io-stream (0.11.0)
147153
iodine (0.7.58)
148154
irb (1.15.1)
149155
pp (>= 0.6.0)
150156
rdoc (>= 4.0.0)
151157
reline (>= 0.4.2)
152-
json (2.11.3)
153-
localhost (1.3.1)
158+
json (2.15.2)
159+
localhost (1.6.0)
154160
logger (1.7.0)
155161
loofah (2.24.1)
156162
crass (~> 1.0.2)
@@ -160,13 +166,18 @@ GEM
160166
net-imap
161167
net-pop
162168
net-smtp
163-
mapping (1.1.1)
169+
mapping (1.1.3)
164170
marcel (1.0.4)
165-
memory-leak (0.5.2)
166-
metrics (0.12.2)
171+
memory (0.7.1)
172+
bake (~> 0.15)
173+
console
174+
msgpack
175+
memory-leak (0.7.0)
176+
metrics (0.15.0)
167177
mini_mime (1.1.5)
168178
mini_portile2 (2.8.9)
169179
minitest (5.25.5)
180+
msgpack (1.8.0)
170181
net-imap (0.5.7)
171182
date
172183
net-protocol
@@ -184,31 +195,37 @@ GEM
184195
racc (~> 1.4)
185196
nokogiri (1.18.9-x86_64-linux-gnu)
186197
racc (~> 1.4)
187-
openssl (3.3.0)
198+
openssl (3.3.2)
188199
pg (1.5.9)
189200
pitchfork (0.17.0)
190201
logger
191202
rack (>= 2.0)
192203
pp (0.6.2)
193204
prettyprint
194205
prettyprint (0.2.0)
206+
process-metrics (0.6.0)
207+
console (~> 1.8)
208+
json (~> 2)
209+
samovar (~> 2.1)
195210
protocol-hpack (1.5.1)
196-
protocol-http (0.49.0)
197-
protocol-http1 (0.30.0)
211+
protocol-http (0.55.0)
212+
protocol-http1 (0.35.2)
198213
protocol-http (~> 0.22)
199-
protocol-http2 (0.22.1)
214+
protocol-http2 (0.23.0)
200215
protocol-hpack (~> 1.4)
201216
protocol-http (~> 0.47)
202-
protocol-rack (0.11.2)
217+
protocol-rack (0.16.0)
218+
io-stream (>= 0.10)
203219
protocol-http (~> 0.43)
204220
rack (>= 1.0)
221+
protocol-url (0.4.0)
205222
psych (5.2.3)
206223
date
207224
stringio
208225
puma (7.1.0)
209226
nio4r (~> 2.0)
210227
racc (1.8.1)
211-
rack (3.2.0)
228+
rack (3.2.3)
212229
rack-session (2.1.1)
213230
base64 (>= 0.1.0)
214231
rack (>= 3.0.0)
@@ -255,14 +272,15 @@ GEM
255272
connection_pool
256273
reline (0.6.0)
257274
io-console (~> 0.5)
258-
samovar (2.3.0)
275+
samovar (2.4.1)
259276
console (~> 1.0)
260277
mapping (~> 1.0)
261278
securerandom (0.4.1)
279+
string-format (0.2.0)
262280
stringio (3.1.7)
263281
thor (1.4.0)
264282
timeout (0.4.3)
265-
traces (0.15.2)
283+
traces (0.18.2)
266284
trilogy (2.8.1)
267285
tsort (0.2.0)
268286
tzinfo (2.0.6)

0 commit comments

Comments
 (0)