diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/webrick/cgi.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Fri Sep 16 00:03:11 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should set + $stdout.binmode. + Thu Sep 15 23:25:21 2005 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> * lib/{soap,wsdl,xsd}, test/{soap,wsdl,xsd}: imported soap4r/1.5.5. diff --git a/lib/webrick/cgi.rb b/lib/webrick/cgi.rb index ae77e1759d..c76d7b8633 100644 --- a/lib/webrick/cgi.rb +++ b/lib/webrick/cgi.rb @@ -128,6 +128,7 @@ module WEBrick @header_part = StringIO.new @body_part = stdin @out_port = stdout + @out_port.binmode @server_addr = @env["SERVER_ADDR"] || "0.0.0.0" @server_name = @env["SERVER_NAME"] |