| Summary: | After encounter a illegal utf8 uri, the buffer is not reseted, so the next request will be influenced | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | tangfulin <tangfulin> |
| Component: | server | Assignee: | Simone Bordet <simone.bordet> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jetty-inbox, simone.bordet, tangfulin |
| Version: | 7.3.0 | ||
| Target Milestone: | 7.3.x | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
tangfulin
Jar: jetty-all-server-7.3.0.v20110203.jar source: jetty-all-server-7.3.0.v20110203-sources.jar I cannot reproduce this bug. In the catch block at HttpConnection:627 the call to Log.warn(_uri+": "+e); does not rethrow any exception because HttpURI has a non-null _rawString field. The connection is then closed. Even if it would throw at the logging statement, this exception would be caught by the endpoint and the connection closed. Since in any case the connection is closed, the HttpConnection and its _uri field are not reused and cannot influence other requests. Do you have a test case that shows the issue you report ? I tried to reproduce this bug in several cases, but was never able to. I am resolving the bug; if you have further information, please reopen it and we'll work on it. For example, how do you "send" requests ? Using a browser ? Jetty's HttpClient ? A test case ? Another HTTP client library ? What is in the request that contains illegal UTF8 bytes ? The path ? The query string ? Thanks ! |