Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented May 4, 2020

Motivation:

Currently our packet parser is append-only forever, meaning that
eventually if you run too much data through it the parser falls over and
dies. That's pretty stupid!

Modifications:

Add heuristics for reclaiming the buffer size.

Result:

The buffer shouldn't blow up

@Lukasa Lukasa requested a review from artemredkin May 4, 2020 11:46
Motivation:

Currently our packet parser is append-only forever, meaning that
eventually if you run too much data through it the parser falls over and
dies. That's pretty stupid!

Modifications:

Add heuristics for reclaiming the buffer size.

Result:

The buffer shouldn't blow up
@Lukasa Lukasa merged commit e440967 into apple:master May 5, 2020
@Lukasa Lukasa deleted the cb-clear-buffer-space branch May 5, 2020 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants