-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Resteasy Reactive duplicates headers when custom WriterInterceptor is present #27325
Comments
/cc @FroMage, @geoand, @stuartwdouglas |
FTR. |
Thanks for reporting. #27406 takes care of it |
geoand
added a commit
that referenced
this issue
Aug 22, 2022
Prevent duplicate HTTP headers when WriterInterceptor is used
sheilamjones
pushed a commit
to sheilamjones/quarkus
that referenced
this issue
Aug 22, 2022
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Aug 23, 2022
Fixes: quarkusio#27325 (cherry picked from commit e398998)
fercomunello
pushed a commit
to fercomunello/quarkus
that referenced
this issue
Aug 31, 2022
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jan 13, 2023
Fixes: quarkusio#27325 (cherry picked from commit e398998)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jan 18, 2023
Fixes: quarkusio#27325 (cherry picked from commit e398998)
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Jan 25, 2023
Fixes: quarkusio#27325 (cherry picked from commit e398998)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After migrating my app to resteasy-reactive, I noticed that all response headers I set myself are being duplicated.
Headers set by quarkus, like content-length and content-type, are only present once in the response as expected
Essentially, whenever a custom writerinterceptor is present in the app, all custom response headers are duplicated. The interceptor does not even have to do anything.
This duplication did not happen with resteasy classic.
Expected behavior
No headers are getting duplicated.
Actual behavior
How to Reproduce?
Reproducer:
Uploading etag-duplication.zip…
Output of
uname -a
orver
Microsoft Windows [Version 10.0.19044.1889]
Output of
java -version
openjdk version "18.0.2" 2022-07-19 OpenJDK Runtime Environment Temurin-18.0.2+9 (build 18.0.2+9) OpenJDK 64-Bit Server VM Temurin-18.0.2+9 (build 18.0.2+9, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.11.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: C:\eclipse\tools\java\maven Java version: 18.0.2, vendor: Eclipse Adoptium, runtime: C:\eclipse\tools\java\18 Default locale: de_DE, platform encoding: UTF-8 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
Additional information
No response
The text was updated successfully, but these errors were encountered: