Project

General

Profile

Actions

Bug #5737

closed

WEBrick doesn't support keep alive connections for 204 and 304 responses

Added by tenderlovemaking (Aaron Patterson) over 12 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.0.0dev (2011-12-07 trunk 33966) [x86_64-darwin11.2.0]
[ruby-core:41581]

Description

WEBrick doesn't support keep alive connections for 204 and 304 responses. If a 204 or 304 response is made along with a keepalive, a warning is issued and webrick closes the connection.

I've attached a patch that fixes the problem, and I will apply it if it's OK. :-)


Files

204_304_keep_alive.patch (1.79 KB) 204_304_keep_alive.patch tenderlovemaking (Aaron Patterson), 12/10/2011 09:46 AM
noname (500 Bytes) noname Anonymous, 12/13/2011 12:23 PM

Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #5758: webrickのhttpresponseについてClosed12/14/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0