Hi, 

In message <D0EDBAD0-4D95-11D9-968D-000A95A27A10 / freeshell.org>,
 `Charles Mills <cmills / freeshell.org>' wrote:
> Webricks logging may cause it to fail on a valid http requests (on Mac 
> OS X).

> $ ruby -rubygems webserver.rb
> [2004-12-13 20:26:59] INFO  WEBrick 1.3.1
> [2004-12-13 20:26:59] INFO  ruby 1.8.1 (2003-12-25) [powerpc-darwin]
> [2004-12-13 20:26:59] INFO  WEBrick::HTTPServer#start: pid=5716 
> port=8080
> DNSSD Successfully Registered: #<DNSSD::RegisterReply 
> RACC\026Presentation._http._tcp.local.>
> [2004-12-13 20:27:40] ERROR SocketError: getnameinfo: nodename nor 
> servname provided, or not known

Sorry, I'm not familiar with DNSSD. But isn't the error of
peeraddr a problem?

Getnameinfo may be bypassed by setting Socket.do_not_reverse_lookup
flag.

> Is this patch ok?
# execpt that seemed reverse patch :)

I understood about accept logs, but I don't like to call
application code for errored socket.

-- 
gotoyuzo