-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WritePCAPHandler: support logging more than 4GiB of data (#85)
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
- Loading branch information
Showing
3 changed files
with
70 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters