diff options
author | nagachika <nagachika@ruby-lang.org> | 2021-03-20 13:18:32 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-03-20 13:18:32 +0900 |
commit | 70c3a195f39763dccdf9367d0c9b7e815431a41a (patch) | |
tree | 37117c01623a51581de61dde314be9dcc683a802 /test/ruby | |
parent | 9994860dcb56697fad1799128d1493adc06b23c7 (diff) | |
download | ruby-70c3a195f39763dccdf9367d0c9b7e815431a41a.tar.gz |
merge revision(s) 9682db065158da5fa4ec8a3bc267da45b429b92c: [Backport #12838] [Backport #17658]
Remove sender/message_id pair after response received in resolv
Once a response for a given DNS request has been received (which
requires a matching message id), the [sender, message_id] pair
should be removed from the list of valid senders. This makes it
so duplicate responses from the same sender are ignored.
Fixes [Bug #12838]
---
lib/resolv.rb | 2 +-
test/resolv/test_dns.rb | 113 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 114 insertions(+), 1 deletion(-)
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions