Skip to content

Improve UDP socket bind address flexibility#163

Merged
aisk merged 2 commits intomasterfrom
udp-bind-address-improvement
Feb 1, 2026
Merged

Improve UDP socket bind address flexibility#163
aisk merged 2 commits intomasterfrom
udp-bind-address-improvement

Conversation

@aisk
Copy link
Owner

@aisk aisk commented Feb 1, 2026

Fixes #153

  • Add UdpOptions struct with bind parameter support
  • Auto-detect bind address: use 127.0.0.1:0 for loopback targets, 0.0.0.0:0 otherwise
  • Support manual bind address via URL parameter: memcache+udp://host:port?bind=192.168.1.50

@aisk aisk merged commit 0126b0a into master Feb 1, 2026
1 check passed
@aisk aisk deleted the udp-bind-address-improvement branch February 1, 2026 16:07
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.

security issue, udp listen 0.0.0.0 host

1 participant