Details
Description
Read timeout can be applied only to the whole Http Client (HttpClient#setTimeout())
It will be great if we will be able to set different read timeout for each HttpExchange
Activity
Greg Wilkins
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Affects Version/s | 7.0.0.pre6 [ 14687 ] | |
| Fix Version/s | 7.0.0.pre6 [ 14687 ] |
Michael Gorovoy
made changes -
| Assignee | Greg Wilkins [ gregw ] |
Bartosz Kowalewski
made changes -
| Attachment | JETTY-912.patch [ 50465 ] |
Jesse McConnell
made changes -
| Assignee | Greg Wilkins [ gregw ] | Jesse McConnell [ jesse ] |
Jesse McConnell
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 6.1.26 [ 16660 ] | |
| Fix Version/s | 7.2.0 [ 16607 ] | |
| Resolution | Fixed [ 1 ] |
Jesse McConnell
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Yes, this is currently not possible because we use the jetty Timeout class, one instance for the httpclient and the timeout implementation has the duration specified applied to all tasks in the queue. I understand the desire for ultimate flexibility but is there a good use case that makes this a requirement over simply a nice to have?