ruby / resolv

A thread-aware DNS resolver library written in Ruby
Other
37 stars 29 forks source link

Fix the fallback from UDP to TCP due to message truncation #6

Closed jeremyevans closed 9 months ago

jeremyevans commented 3 years ago

If truncation is detected, return immediately from decode so that the UDP connection can be retried with TCP, instead of failing to decode due to trying to decode a truncated response.

Fixes [Bug #13513]

jeremyevans commented 1 year ago

@nobu Could you review this if you have time? This has been open for 2.5 years now.