Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty and Http 1.1 upgrade header

Interesting, not sure that there are any browsers that support this flow.
The SSL negotiation between the client and server at this point in time would be tricky.
You are definitely in the realm of a custom HTTP client at this point.
Wish you the best of luck, let us know how it goes.

Joakim Erdfelt

On Tue, Sep 25, 2012 at 9:55 AM, Manfred <manfred@xxxxxxxxxxx> wrote:
Thanks Simon.

I've looked through the classes and how possibly the "upgrade" could work.
However I'm not sure this is the right way of doing things.
I would:

- check for "Upgrade" header in Servlet's service() method
- if "Upgrade" create a SslConnection
- send a "101 Switching Protocol" response
- change the connection object via:
request.setAttribute("", sslConnection)

Would this be a viable route?
Would Jetty handle everything from there on for me?


View this message in context:
Sent from the Jetty User mailing list archive at
jetty-users mailing list

Back to the top