Closed arinban closed 7 years ago
@rlubke Commented Fixed in the AHC project.
@elrodro83 Commented Great! con you point me to the issue/commit in AHC? Also, do you know when a version with the fix will be released?
Thanks!
@rlubke Commented @elrodro83 https://github.com/javaee/grizzly-ahc/commit/83f78b1089d0d9af37adee8fe714629fc6e4509a
I may be able to do a release next week.
When an http server returns a 200 response with an
Upgrade
header with valueh2
orh2,h2c
, the rest of the response is not received, the ahc listener is never called.I added the following test on ahc to show this behavior. The test fails due to time.
I would expect the
onCompleted
method to be called regardless of theUpgrade
header.I traced the behavior up to
HttpCodecFilter
in grizzly, that's why i created this issue in this project, even it i reproduced it with an ahc test.