Skip to content

ames, mesa: revert static receive buffer allocation#755

Merged
pkova merged 1 commit into
developfrom
pkova/pairs
Dec 20, 2024
Merged

ames, mesa: revert static receive buffer allocation#755
pkova merged 1 commit into
developfrom
pkova/pairs

Conversation

@pkova

@pkova pkova commented Dec 20, 2024

Copy link
Copy Markdown
Collaborator

A beautiful idea but given that the receive buffer sometimes ends up as the sender buffer in ames.c and that uv_udp_try_send fails a lot with dead flow consolidation turned on we have to revert this.

@pkova pkova requested a review from a team as a code owner December 20, 2024 17:43
@pkova pkova merged commit 59e8bad into develop Dec 20, 2024
@pkova pkova deleted the pkova/pairs branch December 20, 2024 20:33
@pkova pkova restored the pkova/pairs branch December 20, 2024 20:35
pkova added a commit that referenced this pull request Jan 11, 2025
I was messing with static udp receive buffer allocation in #754. We
decided to revert it in #755, but I missed one `c3_free` in the stun
request packet codepath, causing a fairly significant memory leak when
`vere-v3.2` was deployed on a galaxy. This restores the old free and
plugs the leak.

This bug was unreleased and only appeared on `edge` and specifically
only on galaxies, it showed up now because I updated the custom binary
on `~fen` for unrelated reasons.
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.

1 participant