Skip to content

Add ServeListener function, and override existing webTransportDraftOfferHeaderKey if set - #80

Closed
lleyton wants to merge 2 commits into
quic-go:masterfrom
FyraLabs:master
Closed

Add ServeListener function, and override existing webTransportDraftOfferHeaderKey if set#80
lleyton wants to merge 2 commits into
quic-go:masterfrom
FyraLabs:master

Conversation

@lleyton

@lleyton lleyton commented May 21, 2023

Copy link
Copy Markdown
Contributor

Should allow for listening using a quic.EarlyListener.

As for the latter fix, the current behavior, adding a new value with that header name, can cause issues if it's already set. This may happen if you're retrying the Dial call, reusing the same headers object.

@google-cla

google-cla Bot commented May 21, 2023

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@marten-seemann

Copy link
Copy Markdown
Member

How are these changes related?

@lleyton

lleyton commented May 21, 2023

Copy link
Copy Markdown
Contributor Author

They aren't related, just various small fixes I added to my fork when trying to use the library. If you'd like, I can break them up into separate PRs.

@marten-seemann

Copy link
Copy Markdown
Member

Yes please do.

@lleyton

lleyton commented May 25, 2023

Copy link
Copy Markdown
Contributor Author

Alrightie, gonna close this PR. Please take a look at #81 and #82 :3

@lleyton lleyton closed this May 25, 2023
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