Commit a16f8aa
authored
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 #115431 parent dccfcc8 commit a16f8aa
File tree
3 files changed
+941
-227
lines changed- handler/src
- main/java/io/netty/handler/pcap
- test/java/io/netty/handler/pcap
3 files changed
+941
-227
lines changed
0 commit comments