summaryrefslogtreecommitdiff
path: root/ext/socket/constants.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 01:16:25 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 01:16:25 +0000
commit8478b30267c09152f1be6f55967fa3444e878ea4 (patch)
tree4af4b42eeb59efa3eb3fc66af22c732ae5821e84 /ext/socket/constants.c
parenteda2441b5354829bea9225a99e0b96f0ba40b7ab (diff)
downloadruby-8478b30267c09152f1be6f55967fa3444e878ea4.tar.gz
socket: avoid exceptions in wrapper code
* ext/socket/lib/socket.rb (Socket.accept_loop): avoid exceptions (Socket.udp_server_recv): ditto Exceptions for common "errors" make debug output noisy and allocations+backtrace generation hurt performance. [ruby-core:66385] [ruby-core:69473] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/constants.c')
0 files changed, 0 insertions, 0 deletions