Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D1D598E4 for ; Thu, 8 Mar 2012 12:04:22 +0000 (UTC) Received: (qmail 80463 invoked by uid 500); 8 Mar 2012 12:04:22 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 80408 invoked by uid 500); 8 Mar 2012 12:04:22 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 80396 invoked by uid 99); 8 Mar 2012 12:04:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 12:04:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_FRT_STOCK2,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Mar 2012 12:04:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AFF54F0C9 for ; Thu, 8 Mar 2012 12:03:58 +0000 (UTC) Date: Thu, 8 Mar 2012 12:03:58 +0000 (UTC) From: =?utf-8?Q?J=C3=B8rgen_Nordmoen_=28Updated=29_=28JIRA=29?= To: dev@hc.apache.org Message-ID: <550758738.38731.1331208238722.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1355232045.21901.1330943398263.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HTTPCORE-295) Change Traffic class of an established connection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCORE-295?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B8rgen Nordmoen updated HTTPCORE-295: ------------------------------------- Attachment: (was: hc-2.diff) =20 > Change Traffic class of an established connection > ------------------------------------------------- > > Key: HTTPCORE-295 > URL: https://issues.apache.org/jira/browse/HTTPCORE-295 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: HttpCore NIO > Affects Versions: 4.1.3, 4.2-beta1 > Reporter: J=C3=B8rgen Nordmoen > Priority: Minor > Attachments: hc-2.diff, hc.diff > > > Request: > Currently there is no possibility of changing the traffic class in HTTPCo= re, this could be fixed by exposing the methods setTrafficClass(int) and ge= tTrafficClass() in http://docs.oracle.com/javase/7/docs/api/java/net/Socket= .html. This can already be done with setSocketTimeout(int), and there is al= so a feature request for doing it with setTcpNoDelay() and setSocketKeepali= ve() (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 di= fferent 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 suggestio= n here, but just by guessing the same issues put forward by this issue: htt= ps://issues.apache.org/jira/browse/HTTPCORE-288 might effect this request t= o. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org