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

[🐛 BUG]: File stream causes duplicate headers being sent #2077

Open
1 task done
rmikalkenas opened this issue Dec 2, 2024 · 1 comment
Open
1 task done

[🐛 BUG]: File stream causes duplicate headers being sent #2077

rmikalkenas opened this issue Dec 2, 2024 · 1 comment
Assignees
Labels
B-bug Bug: bug, exception F-need-verification W-waiting on response Wait: waiting for the issue creator response

Comments

@rmikalkenas
Copy link

rmikalkenas commented Dec 2, 2024

No duplicates 🥲.

  • I have searched for a similar issue in our bug tracker and didn't find any solutions.

What happened?

I try to stream a large file using the streaming response example.
Even though its working, but seems that the response headers get duplicated times the amount of chunks being sent.
In case of many chunks - header max size limit is reached causing to errors.

Is it expected or am I doing somethig wrong?

image

Version (rr --version)

2024.2.1

How to reproduce the issue?

From example: https://docs.roadrunner.dev/docs/http/resp-streaming

Relevant log output

No response

@rustatian
Copy link
Member

Hey @rmikalkenas 👋🏻
Could you please include the reproduction example in the ticket? I mean, I double checked my tests (based on the examples) and I don't see any duplicates...

@rustatian rustatian added the W-waiting on response Wait: waiting for the issue creator response label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: bug, exception F-need-verification W-waiting on response Wait: waiting for the issue creator response
Projects
None yet
Development

No branches or pull requests

2 participants