Skip to content

Commit a16f8aa

Browse files
Allow PcapWriteHandler to output PCAP files larger than 2GB (#14478)
Motivation: PcapWriteHandler should be able to support large files but is currently limited to 2GB due to the usage of int without wrapping. Modifications: segmentNumber and ackNumber are now long values to support uint32 values. segmentNumber and ackNumber wrap around when the uint32 max is reached. Ported unit test from apple/swift-nio-extras#85 Result: Fixes #11543
1 parent dccfcc8 commit a16f8aa

File tree

3 files changed

+941
-227
lines changed

3 files changed

+941
-227
lines changed

0 commit comments

Comments
 (0)