Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 99688 invoked from network); 17 Feb 2008 17:27:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2008 17:27:10 -0000 Received: (qmail 27252 invoked by uid 500); 17 Feb 2008 17:27:04 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 27220 invoked by uid 500); 17 Feb 2008 17:27:04 -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 27211 invoked by uid 99); 17 Feb 2008 17:27:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Feb 2008 09:27:04 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Feb 2008 17:26:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7322234C03F for ; Sun, 17 Feb 2008 09:26:34 -0800 (PST) Message-ID: <216770816.1203269194814.JavaMail.jira@brutus> Date: Sun, 17 Feb 2008 09:26:34 -0800 (PST) From: "stephen joseph butler (JIRA)" To: dev@hc.apache.org Subject: [jira] Created: (HTTPCLIENT-751) ProtocolSocketFactory to upgrade an unsecured connection to secured via TLS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org ProtocolSocketFactory to upgrade an unsecured connection to secured via TLS --------------------------------------------------------------------------- Key: HTTPCLIENT-751 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-751 Project: HttpComponents HttpClient Issue Type: New Feature Components: Contrib Environment: Coded for Java 1.4.2, but interested parties should be able to make it work for less than that. Reporter: stephen joseph butler Priority: Minor HTTP allows a client to upgrade its connection from an unsecured one to a secured one via the Upgrade header. This protocol component implements a mandatory upgrade. From RFC2817, section 3.2: >> OPTIONS * HTTP/1.1 >> Host: example.bank.com >> Upgrade: TLS/1.0 >> Connection: Upgrade >> << HTTP/1.1 101 Switching Protocols << Upgrade: TLS/1.0, HTTP/1.1 << Connection: Upgrade << -- send and complete the TLS handshake -- server answers the original OPTIONS request << HTTP/1.1 200 OK << Date: Sun, 17 Feb 2008 17:23:35 GMT << Server: Apache << Content-Length: 0 << Content-Type: text/plain << My reason for developing this protocol socket factory was to support secure IPP over the standard IPP port. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org