[ https://issues.apache.org/jira/browse/HTTPCLIENT-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811870#comment-17811870 ]
ASF subversion and git services commented on HTTPCLIENT-751: ------------------------------------------------------------ Commit 3235f009d5673536be5c668df409ac3f83808d89 in httpcomponents-client's branch refs/heads/master from Oleg Kalnichevski [ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=3235f009d ] HTTPCLIENT-751: Support for RFC 2817 (Upgrading to TLS Within HTTP/1.1) > 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 > Environment: Coded for Java 1.4.2, but interested parties should be > able to make it work for less than that. > Reporter: Stephen O'Neil Butler > Priority: Minor > Fix For: 5.4-alpha2 > > Attachments: TLSProtocolSocketFactory.java > > Time Spent: 50m > Remaining Estimate: 0h > > 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 was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org