mirror of
https://github.com/apple/swift-nio-extras
synced 2026-11-25 04:47:50 +00:00
Motivation: Previously, WritePCAPHandler would crash if more than 4GiB of data were either received or sent through the same instance of the WritePCAPHandler because of a UInt32 overflow representing the TCP sequence/ACK numbers. Modifications: Make TCP sequence/ACK numbers wrap around correctly. Result: - now you can send/receive up to 16 EiB of data :P. - fixes rdar://61887658