Actions
Feature #1811
closedDefault BasicSocket.do_not_reverse_lookup to true
Description
=begin
Currently ruby socket code defaults to always doing reverse DNS lookup
[ex: once per incoming UDP packet, once per TCP connection].
This causes "surprising" pauses if lookup fails, because the DNS
waits 15s to timeout, before passing the packet back to the program,
the pauses are surprising, not appropriate for production, cause bugs[1] and cause an overly chatty network.
Proposal is: default do_not_reverse_lookup to true and/or change name to do_reverse_lookup= to avoid double negative.
See discussions:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/24247
http://www.ruby-forum.com/topic/190013
Thanks.
=r
[1] http://www.ruby-forum.com/topic/191022
=end
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0