Skip to content

fix(DNS): support SRV with port 0#6739

Merged
spacewander merged 1 commit into
apache:masterfrom
spacewander:dns
Mar 31, 2022
Merged

fix(DNS): support SRV with port 0#6739
spacewander merged 1 commit into
apache:masterfrom
spacewander:dns

Conversation

@spacewander

Copy link
Copy Markdown
Member

rfc2782 allows the port range in [0, 65535] but doesn't mention what
should be done when the port is 0.
Signed-off-by: spacewander [email protected]

Description

Fixes #6732

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

rfc2782 allows the port range in [0, 65535] but doesn't mention what
should be done when the port is 0.
Signed-off-by: spacewander <[email protected]>
@spacewander
spacewander marked this pull request as ready for review March 29, 2022 04:50
@spacewander
spacewander merged commit de4e0bf into apache:master Mar 31, 2022
@spacewander
spacewander deleted the dns branch March 31, 2022 01:37
Liu-Junlin pushed a commit to Liu-Junlin/apisix that referenced this pull request May 20, 2022
spacewander added a commit to spacewander/incubator-apisix that referenced this pull request May 27, 2022
spacewander added a commit to spacewander/incubator-apisix that referenced this pull request May 29, 2022
spacewander added a commit that referenced this pull request May 29, 2022
spacewander added a commit that referenced this pull request Jun 30, 2022
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.

bug: dns service discovery upstreams are not working in GKE

5 participants