mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/cgi.rb (WEBrick::CGI::Socket#initialize): should set
$stdout.binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
533c24268e
commit
215f8ac79e
2 changed files with 6 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue