Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337896

Summary: HttpExchange.timeout does not override HttpClient.timeout
Product: [RT] Jetty Reporter: Simone Bordet <simone.bordet>
Component: serverAssignee: Simone Bordet <simone.bordet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.3.0   
Target Milestone: 7.3.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Simone Bordet CLA 2011-02-22 15:40:37 EST
If HttpExchange is configured with a timeout, this timeout is added (instead of overriding) the timeout specified in HttpClient.

The correct semantic would be for HttpExchange timeout to override HttpClient's.
Comment 1 Simone Bordet CLA 2011-02-22 15:42:37 EST
Fixed by correcting the timeout calculation in HttpClient.schedule(Timeout.Task task, long timeout), and forwarding the proper value to the Timeout instance.