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

Bug 367789

Summary: review parameters for HttpClient
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact: Steffen Pingel <steffen.pingel>
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: 3.7   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 335254    
Attachments:
Description Flags
mylyn/context/zip none

Description Steffen Pingel CLA 2012-01-03 14:46:09 EST
Review these parameters:

* http.conn-manager.timeout
* http.auth.credential-charset

Also consider closing idle connection regularly: ClientConnectionManager#closeIdleConnections()
Comment 1 Steffen Pingel CLA 2012-02-23 10:59:29 EST
The following setting is set by default:

  HttpConnectionParams.setConnectionTimeout(client.getParams(), CONNNECT_TIMEOUT);
  
We could also consider adding this but I haven't enabled this, yet, since it's unclear to me if that's needed (the default is US_ASCII):

  AuthParams.setCredentialCharset(client.getParams(), "UTF-8");

Bug 372360 has been opened to track closing of idle connections.
Comment 2 Steffen Pingel CLA 2012-02-23 10:59:32 EST
Created attachment 211504 [details]
mylyn/context/zip