Skip to content

Conversation

Osndok
Copy link
Contributor

@Osndok Osndok commented Jun 7, 2025

Motivation:

In certain situations, it was found that DNS server implementations may return a response to a DNS question with a case other than that in the original request. In these cases, netty was found to continue waiting for additional responses, eventually timing out as if it had not received an answer to the DNS question.

This PR intends to make DNS answers match DNS questions when they vary only by case.

Modification:

AbstractDnsRecord's equals() and hashCode() methods now behave the same regardless of the name field's case

Result:

Fixes #15327 on the 4.1 branch.

@normanmaurer normanmaurer merged commit a43468c into netty:4.1 Jun 13, 2025
@normanmaurer normanmaurer added this to the 4.1.123.Final milestone Jun 13, 2025
@Osndok Osndok deleted the 4.1 branch June 13, 2025 14:03
dongjoon-hyun added a commit to apache/spark that referenced this pull request Jul 29, 2025
### What changes were proposed in this pull request?

This PR aims to Upgrade Netty to 4.1.123.Final.

### Why are the changes needed?

To bring the latest bug fixes and also improvement.
- https://netty.io/news/2025/07/16/4-1-123-Final.html
  - netty/netty#15428
  - netty/netty#15425
  - netty/netty#15414
  - netty/netty#15422
  - netty/netty#15410
  - netty/netty#15393
  - netty/netty#15376
  - netty/netty#15368
  - netty/netty#15330
  - netty/netty#15346
  - netty/netty#15357
  - netty/netty#15355
  - netty/netty#15308

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #51693 from dongjoon-hyun/SPARK-52983.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
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.

2 participants