[#42344] [ruby-trunk - Feature #5964][Open] Make Symbols an Alternate Syntax for Strings — Tom Wardrop <tom@...>

23 messages 2012/02/03

[#42443] [ruby-trunk - Bug #5985][Open] miniruby skews "make benchmark" results — Eric Wong <normalperson@...>

21 messages 2012/02/08

[#42444] [ruby-trunk - Bug #5986][Open] Segmentation Fault — Luis Matta <levmatta@...>

16 messages 2012/02/08

[#42471] [ruby-trunk - Feature #5995][Open] calling io_advise_internal() in read_all() — Masaki Matsushita <glass.saga@...>

20 messages 2012/02/10

[#42560] [ruby-trunk - Bug #6011][Open] ruby-1.9.3-p0/lib/webrick/utils.rb:184: [BUG] Segmentation fault — Vit Ondruch <v.ondruch@...>

12 messages 2012/02/13

[#42579] [ruby-trunk - Bug #6012][Open] Proc#source_location also return the column — Roger Pack <rogerpack2005@...>

14 messages 2012/02/14

[#42685] [ruby-trunk - Bug #6036][Open] Test failures in Fedora Rawhide/17 — Bohuslav Kabrda <bkabrda@...>

14 messages 2012/02/16

[#42697] [ruby-trunk - Bug #6040][Open] Transcoding test failure: Big5 to UTF8 not defined (MinGW) — Luis Lavena <luislavena@...>

10 messages 2012/02/16

[#42813] [ruby-trunk - Feature #6065][Open] Allow Bignum marshalling/unmarshalling from C API — Martin Bosslet <Martin.Bosslet@...>

22 messages 2012/02/23

[#42815] [ruby-trunk - Bug #6066][Open] Fix "control may reach end of non-void function" warnings for clang — Eric Hodel <drbrain@...7.net>

15 messages 2012/02/23

[#42857] [ruby-trunk - Feature #6074][Open] Allow alias arguments to have a comma — Thomas Sawyer <transfire@...>

20 messages 2012/02/24

[#42891] [ruby-trunk - Feature #6083][Open] Hide a Bignum definition — Koichi Sasada <redmine@...>

23 messages 2012/02/25

[#42906] [ruby-trunk - Bug #6085][Open] Treatment of Wrong Number of Arguments — Marc-Andre Lafortune <ruby-core@...>

14 messages 2012/02/25

[#42949] [ruby-trunk - Bug #6089][Open] Test suite fails with OpenSSL 1.0.1 — Vit Ondruch <v.ondruch@...>

13 messages 2012/02/26

[ruby-core:42602] [ruby-trunk - Feature #855] HTTP/1.1 fixes and other enhancements to webrick

From: Hiroshi Nakamura <nakahiro@...>
Date: 2012-02-14 08:29:40 UTC
List: ruby-core #42602
Issue #855 has been updated by Hiroshi Nakamura.

Priority changed from Low to Normal

Sorry that I kept this open long time.

Yes, the feature request for streaming (No.3 and No.4) is reasonable.  I'll re-evaluate the patch before 2.0.0

I keep the assignee to me and raise the priority.
----------------------------------------
Feature #855: HTTP/1.1 fixes and other enhancements to webrick
https://bugs.ruby-lang.org/issues/855

Author: Brian Candler
Status: Assigned
Priority: Normal
Assignee: Hiroshi Nakamura
Category: lib
Target version: 2.0.0


=begin
 I raised the following issues on ruby-core:
 
 1. When returning an open IO object (without Content-Length or chunking), Webrick fails to close the HTTP/1.1 connection, and hence the client waits forever for the end of the data.
 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/18454
 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/18565
 
 2. Webrick makes it very difficult to send a '100 continue' response when a HTTP/1.1 client requests one, and yet the RFC2616 says it *must* do so.
 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/18459
 
 3. It would be convenient to be able to stream not just real IO objects, but other objects which duck-type like them (such as an open zip file entry from rubyzip)
 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/18460
 
 4. It would be convenient to be able to provide a proc object to generate a streamed response:
 proc { |out| out << "data"; out << "more data"; etc }
 
 5. The default block size of 4K is too small to be efficient when serving large files. This was already fixed for 1.9 in
 http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=10167
 (default now 64K and tunable). Please consider this for 1.8, especially since a similar improvement has been backported for Net::HTTP in
 http://redmine.ruby-lang.org/repositories/revision/ruby-18?rev=12092
 
 The attached file contains small monkey-patches to address these issues. If there is interest these could be rewritten as actual patches against webrick.
=end



-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next