Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API to allow custom Stream ID creation in Http2FrameCodec #13007

Open
wants to merge 5 commits into
base: 4.1
Choose a base branch
from

Conversation

hyperxpro
Copy link
Contributor

Motivation:
In some use cases, we need to pass a custom stream ID and currently, the Http2FrameCodec lack API to use a custom stream ID. It is generated by Http2Connection#Endpoint automatically.

Modification:
Added API to use custom stream ID.

Result:
Add API to allow manual Stream ID creation

@hyperxpro hyperxpro changed the title Add API to allow custom Stream ID creation Add API to allow custom Stream ID creation in Http2FrameCodec Nov 17, 2022
@hyperxpro hyperxpro marked this pull request as draft November 28, 2022 11:46
@normanmaurer
Copy link
Member

Can you tell me why we need this ? What's the use-case ?

@hyperxpro
Copy link
Contributor Author

For proxy, I have to manually create streams with custom IDs so I can save and track them ahead of sending them down to pipeline.

@normanmaurer
Copy link
Member

@hyperxpro is this still required ?

@hyperxpro
Copy link
Contributor Author

Yes, actually. Let me make this reviewable.

@hyperxpro hyperxpro marked this pull request as ready for review September 1, 2023 09:34
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.

None yet

2 participants