| Summary: | Connections closed too early thinking they are idle | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Simone Bordet <simone.bordet> |
| Component: | server | Assignee: | Simone Bordet <simone.bordet> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gregw, jetty-inbox |
| Version: | 7.3.0 | ||
| Target Milestone: | 7.3.x | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Simone Bordet
I don't think this is an error. The maxIdleTime is set from the soTimeout, which is set from the exchange timeout. The connection cannot be idle for longer than the total exchange time, so I think it is just that the 500 in the test harness is too short. I've set it to 2000 for now and it does not fail. Reopen if you disagree ooops - the problem is that an individual exchange timeout should overrule the HttpClient set timeout. Updated HttpConnection to look for exchange timeouts different to httpClient timeout, and if so, set the endp maxIdleTime while the exchange is associated with the endp. |