mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/server.rb (WEBrick::HTTPServer#start): remove
:DoNotReverseLookup option. (Socket#do_not_reverse_lookup is a ruby 1.9 feature) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9f0643ed57
commit
d55f1f480a
3 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Sat Nov 6 14:58:44 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* lib/webrick/server.rb (WEBrick::HTTPServer#start): remove
|
||||||
|
:DoNotReverseLookup option. (Socket#do_not_reverse_lookup is a
|
||||||
|
ruby 1.9 feature)
|
||||||
|
|
||||||
Sat Nov 6 11:31:04 2004 Tadayoshi Funaba <tadf@dotrb.org>
|
Sat Nov 6 11:31:04 2004 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* lib/date.rb (_parse): checks whether zone was given.
|
* lib/date.rb (_parse): checks whether zone was given.
|
||||||
|
@ -67,7 +73,7 @@ Wed Nov 3 22:32:12 2004 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* process.c: On NetBSD don't use setruid() and setrgid().
|
* process.c: On NetBSD don't use setruid() and setrgid().
|
||||||
|
|
||||||
Wed Nov 3 22:24:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
Wed Nov 3 22:24:17 2004 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* lib/webrick/httpauth/digestauth.rb: use Base64.encode64 to
|
* lib/webrick/httpauth/digestauth.rb: use Base64.encode64 to
|
||||||
avoid warnings.
|
avoid warnings.
|
||||||
|
|
|
@ -33,7 +33,6 @@ module WEBrick
|
||||||
:StartCallback => nil,
|
:StartCallback => nil,
|
||||||
:StopCallback => nil,
|
:StopCallback => nil,
|
||||||
:AcceptCallback => nil,
|
:AcceptCallback => nil,
|
||||||
:DoNotReverseLookup => nil,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# for HTTPServer, HTTPRequest, HTTPResponse ...
|
# for HTTPServer, HTTPRequest, HTTPResponse ...
|
||||||
|
|
|
@ -90,9 +90,6 @@ module WEBrick
|
||||||
@tokens.pop # blocks while no token is there.
|
@tokens.pop # blocks while no token is there.
|
||||||
sock = svr.accept
|
sock = svr.accept
|
||||||
sock.sync = true
|
sock.sync = true
|
||||||
if @config[:DoNotReverseLookup]
|
|
||||||
sock.do_not_reverse_lookup = true
|
|
||||||
end
|
|
||||||
Utils::set_close_on_exec(sock)
|
Utils::set_close_on_exec(sock)
|
||||||
th = start_thread(sock, &block)
|
th = start_thread(sock, &block)
|
||||||
th[:WEBrickThread] = true
|
th[:WEBrickThread] = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue