Feature #11137 » 0002-lib-webrick-server.rb-avoid-redundant-fcntl-call.patch
| lib/webrick/server.rb | ||
|---|---|---|
|
sock = svr.accept
|
||
|
sock.sync = true
|
||
|
Utils::set_non_blocking(sock)
|
||
|
Utils::set_close_on_exec(sock)
|
||
|
rescue Errno::ECONNRESET, Errno::ECONNABORTED,
|
||
|
Errno::EPROTO, Errno::EINVAL
|
||
|
rescue StandardError => ex
|
||
|
-
|
||