Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] jetty 9.0 and Hixie76


Daniel,

If you use cometd as a layer over websocket, then it will automatically handle browsers that do not support RFC compliant websockets.   Old iOS devices will fall back to using long polling, which I believe is infinitely preferable than Hixie76

regards



On 8 October 2013 19:02, Daniel Wu <daniel.y.woo@xxxxxxxxx> wrote:
Hi guys,

There are some old iOS 5.1 devices only supports Hixie76. However the latest jetty 9 only supports RFC6455. The WebSocketServerFactory class only initialize the handshakes map with a single protocol.

    private final Map<Integer, WebSocketHandshake> handshakes = new HashMap<>();
    {
        handshakes.put(HandshakeRFC6455.VERSION,new HandshakeRFC6455());
    }
 
How can I make it support Hixie76?

-- 
Daniel Wu
Sent with Sparrow


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users




--
Greg Wilkins <gregw@xxxxxxxxxxx>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.
Intalio, the modern way to build business applications.

Back to the top