Skip to content

1.1.0.beta

Compare
Choose a tag to compare
@driv3r driv3r released this 14 Jan 11:00
· 25 commits to main since this release
bf7648e

Added

Different ways to parse Socket::Option. Mainly due to the fact that #inspect can't generate proper data on AWS Fargate, which runs Amazon Linux 2 with 4.14 kernel. So now besides #inspect there's also #unpack that parses binary data and picks proper field.

It depends on the kernel, but new fields are usually added at the end of the tcp_info struct, so it should more or less stay stable.

You can configure it by passing in config.socket_parser = :inspect or config.socket_parser = ->(opt) { your implementation }.