jira-importer opened a new issue, #827:
URL: https://github.com/apache/httpcomponents-core/issues/827

   **[Jørgen 
Nordmoen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jorgno)** 
opened 
**[HTTPCORE-295](https://issues.apache.org/jira/browse/HTTPCORE-295?redirect=false)**
 and commented
   
   Request:
   Currently there is no possibility of changing the traffic class in HTTPCore, 
this could be fixed by exposing the methods setTrafficClass(int) and 
getTrafficClass() in 
http://docs.oracle.com/javase/7/docs/api/java/net/Socket.html. This can already 
be done with setSocketTimeout(int), and there is also a feature request for 
doing it with setTcpNoDelay() and setSocketKeepalive() 
(https://issues.apache.org/jira/browse/HTTPCORE-288).
   
   Motivation:
   Supporting traffic class could be quite beneficial for HTTPComponents as it 
allows projects depending on HC to control the quality of service. This could 
be used by e.g. Apache Synapse to give outgoing request or replies different 
QoS parameters depending on the client connecting to the service.
   
   Problems:
   As I'm not familiar enough with HTTPCore I can't give a precise suggestion 
here, but just by guessing the same issues put forward by this issue: 
https://issues.apache.org/jira/browse/HTTPCORE-288 might effect this request to.
   
   
   ---
   
   **Affects:** 4.1.3, 4.2-beta1
   
   **Attachments:**
   - 
[hc.diff](https://issues.apache.org/jira/secure/attachment/12518165/hc.diff) 
(_7.17 kB_)
   - 
[hc.diff](https://issues.apache.org/jira/secure/attachment/12517229/hc.diff) 
(_3.95 kB_)
   - 
[hc-2.diff](https://issues.apache.org/jira/secure/attachment/12517555/hc-2.diff)
 (_5.93 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to