diff options
| author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-15 15:07:05 +0000 |
|---|---|---|
| committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-15 15:07:05 +0000 |
| commit | ceb3f04cb15af292a30b65803035b092e642260b (patch) | |
| tree | aee8631d20ec4395854052d40673ae6d8b7fddaf | |
| parent | d168aaa9cb1fb14bd09f0c7c24d63a13af33248e (diff) | |
| download | ruby-ceb3f04cb15af292a30b65803035b092e642260b.tar.gz ruby-ceb3f04cb15af292a30b65803035b092e642260b.tar.xz ruby-ceb3f04cb15af292a30b65803035b092e642260b.zip | |
* lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should set
$stdout.binmode.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -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:06:18 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 29fa67d18..2b6d2313b 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"] |
