about summary refs log tree commit homepage
path: root/test/exec/test_exec.rb
diff options
context:
space:
mode:
authorDylan Thacker-Smith <dylan.smith@shopify.com>2017-03-25 21:49:03 -0400
committerEric Wong <e@80x24.org>2017-03-26 03:34:53 +0000
commit477a2207869ff6b11a1cdee428b55604f2caa69e (patch)
tree6c816d32d8ef949686386bfc27f346d76cb6bbcd /test/exec/test_exec.rb
parent9cced5d3ace9fc333c95b63f443225887f774a47 (diff)
downloadunicorn-477a2207869ff6b11a1cdee428b55604f2caa69e.tar.gz
The ruby constant Socket::TCP_INFO is only defined if TCP_INFO is defined
in C, so we can just check for the presence of that ruby constant instead
of rescuing SocketError from the call to getsockopt.
Diffstat (limited to 'test/exec/test_exec.rb')
0 files changed, 0 insertions, 0 deletions