You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Desmond Yeung (Jira)" <ji...@apache.org> on 2021/01/06 01:18:00 UTC

[jira] [Created] (HTTPCORE-657) Way to set Traffic Class of socket in 5.0

Desmond Yeung created HTTPCORE-657:
--------------------------------------

             Summary: Way to set Traffic Class of socket in 5.0
                 Key: HTTPCORE-657
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-657
             Project: HttpComponents HttpCore
          Issue Type: Improvement
          Components: HttpCore
    Affects Versions: 5.0
            Reporter: Desmond Yeung


I didn't see any way of setting the Traffic Class of an underlying socket in 5.0.

Would it be possible to expose this as a setting on IOReactorConfig similar to setTcpNoDelay or setSoTimeout?

I know this would be more flexible to be able to set this per connection, but for our use case, we have different services within our network and we'd like to be able to classify and manage the traffic of each service at a network level so that flexibility isn't a requirement.

If you have suggestions on the approach, I'd be happy to open a PR.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org