[ 
https://issues.apache.org/jira/browse/HTTPCORE-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996647#comment-12996647
 ] 

Yutaka Takeda commented on HTTPCORE-158:
----------------------------------------

Currently proposed WebSocket protocol in IETF hybi WG reuses this Upgrade/101. 
As opposed to RFC 2817, it tries to completely replaces HTTP with WebSocket 
protocol, it would involve providing an interface to an external facility 
because it is no longer an HTTP. For instance, if you try to implement 
WebSocket via current Apache module handler, how can it suppress HTTP response, 
or how can it use underlying TCP socket in another facility(,or process)? There 
doesn't seem to be a way to achieve either of them.

> Support for 'Upgrade' request header / 101 (Switching Protocols) response (as 
> defined per RFC 2817)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-158
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-158
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore
>            Reporter: Oleg Kalnichevski
>             Fix For: Future
>
>
> Presently HttpCore provides support for HTTP CONNECT method for establishing 
> end-to-end tunnels across HTTP proxies as specified in the RFC 2817. However, 
> HttpCore currently does not support 'Upgrade' / 101 (Switching Protocols) 
> handshaking, which does not seem as widely used by the common HTTP agents and 
> servers as HTTP CONNECT. 
> Adding support for upgrading plain connections to TLS will require 
> significant amount of work and is likely to call for non-trivial changes to 
> the existing protocol handlers. 
> We currently have no resources within the project to assign to this task, but 
> will gladly assist an external contributor willing to work on adding support 
> for 'Upgrade' / 101 (Switching Protocols) handshaking to HttpCore. This may 
> also be a good topic for a Google Summer of Code project or a similar program.
> Oleg

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to