You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Broken http response when using http trailers with gzip compression for chunked response.
I have build simple maven project using maven-jetty-plugin to reporoduce the issue.
Have cerate a REST endpoint which return a Stream
Added MessageBodyWriter for handling Stream and inejcting HttpservletResponse for adding http trailers to be able to report to my client any issue that happen in the middle of processing
When I'm setting I'm adding a tarilers and enabling gzip compression, my client is crashing with error "CRLF expected at end of the chunk"
I have even tested using curl and getting same issue(curl: (18) transfer closed with outstanding read data remaining).
When I don't send trailers or I disable compression(by using Accept-Encoding in client) every thing work correctly.
The text was updated successfully, but these errors were encountered:
Jetty version(s)
10.0.15
Jetty Environment
Java version/vendor
(use: java -version)
OS type/version
Description
Broken http response when using http trailers with gzip compression for chunked response.
I have build simple maven project using maven-jetty-plugin to reporoduce the issue.
Have cerate a REST endpoint which return a Stream
Added MessageBodyWriter for handling Stream and inejcting HttpservletResponse for adding http trailers to be able to report to my client any issue that happen in the middle of processing
When I'm setting I'm adding a tarilers and enabling gzip compression, my client is crashing with error "CRLF expected at end of the chunk"
I have even tested using curl and getting same issue(curl: (18) transfer closed with outstanding read data remaining).
When I don't send trailers or I disable compression(by using Accept-Encoding in client) every thing work correctly.
The text was updated successfully, but these errors were encountered: