Project

General

Profile

Feature #11137 » 0002-lib-webrick-server.rb-avoid-redundant-fcntl-call.patch

normalperson (Eric Wong), 05/11/2015 09:39 PM

View differences:

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
-
(1-1/2)