| Summary: | ProxyServlet hang with 304 and Content-Length header | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Mike Pilone <mpilone> | ||||||
| Component: | other | Assignee: | Project Inbox <jetty-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | gregw | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 7.2.x | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Mike Pilone
Created attachment 190261 [details]
TCPMon of Client to Proxy
Created attachment 190262 [details]
TCPMon of Proxy to Backend
After applying a workaround on the backend to force the content length to 0 (I couldn't remove the header completely), the ProxyServlet behaved as expected. So while I agree that this is a backend problem, RFC 2616 section 4.4 indicates that the client should be able to handle this situation and ignore entity headers on a 304 response. I tested from Client to Backend directly and Google Chrome was able to handle the 304 with a Content-Length header without an issue. content length ignored for 204,304 and 1xx responses r2953 |