You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
I'm not sure you can just send the same request we get from the client to the upstream server. This could lead to a conflict if two clients send a request with the same message ID. I would make a copy...
The text was updated successfully, but these errors were encountered:
If two clients happened to send requests to us with the same id but for different hostnames, and we sent the request upstream as is, there is a chance we might mix up the replies from upstream and send the wrong reply back to the wrong client.
@tomwilkie AFAICT the DNS code does not correlate replies by ID. A fresh UDP/TCP "connection" is established for every request, so correlation happens by virtue of receiving replies on distinct ephemeral ports. The library checks that the reply ID matches the request but only to error when it doesn't.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not sure you can just send the same request we get from the client to the upstream server. This could lead to a conflict if two clients send a request with the same message ID. I would make a copy...
The text was updated successfully, but these errors were encountered: