Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-657

Way to set Traffic Class of socket in 5.0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.0
    • 5.1-beta3
    • HttpCore
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            desmondyeung Desmond Yeung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 50m
                50m