Skip to content

HTTP Roaming improvements#327

Draft
macpie wants to merge 3 commits intomainfrom
macpie/improv
Draft

HTTP Roaming improvements#327
macpie wants to merge 3 commits intomainfrom
macpie/improv

Conversation

@macpie
Copy link
Copy Markdown
Member

@macpie macpie commented Mar 23, 2026

No description provided.

macpie added 3 commits March 19, 2026 12:31
Add per-endpoint hackney connection pools for HTTP roaming uplinks and
async downlinks. Add checkout, connect, and recv timeouts. Improve
logging: promote async downlink failures to error, demote empty
responses to debug. Handle hackney post errors gracefully.
Check endpoint TCP reachability in init before accepting packets to
prevent billing for unreachable endpoints. Register with gproc before
the check to avoid race conditions with duplicate packets. Store
pool_name in state to avoid repeated lookups on every send.
Join requests don't benefit from distributed multi-buy counting since
they use a fixed max_copies. Bypass the gRPC multi-buy service for
joins via a new UseNetwork flag in update_counter/3, and lower
MAX_JOIN_REQ from 50 to 25.
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