vertx-http-proxy icon indicating copy to clipboard operation
vertx-http-proxy copied to clipboard

Reverse Proxy not ending connection when downstream ngnix return 304

Open DicksengA opened this issue 11 months ago • 2 comments

Setup browser -> vertx-reverse-proxy -> ngnix web-server

When the browser sends http request "If-None-Match" and "If-Modified-Since" header, ngnix returns 304 with chunked. Notice the reverse proxy does not end connection.

On the chrome network tab, it shows waiting for server to respond.

Tested it also with curl, the respond is also not ending.

Anything required to configure on the reverse proxy?

DicksengA avatar Mar 24 '25 16:03 DicksengA

@DicksengA I guess you mean the proxy does not send the browser a response right? Can you clarify?

tsegismont avatar Mar 24 '25 16:03 tsegismont

@tsegismont Yes you are right.

DicksengA avatar Mar 24 '25 16:03 DicksengA

Can you share a snippet of the proxy setup? Sample HTTP requests?

What do you mean with nginx replies 304 with chunk? In theory, a NOT MODIFIED response does include a body https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/304

tsegismont avatar Jun 19 '25 14:06 tsegismont

Please reopen if you can provide more info about how to reproduce

tsegismont avatar Oct 21 '25 12:10 tsegismont