diff options
author | Eric Wong <e@80x24.org> | 2017-03-08 04:56:46 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-03-08 05:39:55 +0000 |
commit | 873218e317773462be2a72556d26dc4a723cc7be (patch) | |
tree | d51829f7830eca74d90325822a7a5a0e9514cee2 /test | |
parent | 8ce88a3756b110e5e3001f640ebd53a5b11d8c65 (diff) | |
download | unicorn-873218e317773462be2a72556d26dc4a723cc7be.tar.gz |
Ruby 2.2+ can show "struct tcp_info" as a string via Socket::Option#inspect, and we can attempt to parse it out to extract the information we need. Parsing this string is inefficient, but does not depend on the ordering of the tcp_info struct.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions