Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Conversation

@crankycoder
Copy link
Contributor

This is a matching patch for getsentry/sentry#1073

getaddrinfo() does not make any guarantees about the ordering of IPv4 vs IPv6 addresses and BaseUDPTransport was just picking the first address from getaddrinfo. This patch will fall back to using the first IPv4 address by default as per the documentation.

instead of using the first IPv4 address by default as per the
documentation
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling fc8f058 on crankycoder:features/ipv4_by_default into 8d680b5 on getsentry:master.

dcramer added a commit that referenced this pull request Nov 29, 2013
Fixes the BaseUDPTransport to use IPv4 by default
@dcramer dcramer merged commit 0ace37b into getsentry:master Nov 29, 2013
@dcramer
Copy link
Member

dcramer commented Nov 29, 2013

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants