jsr369-experts@servlet-spec.java.net

[jsr369-experts] Upgrade is done?

From: Greg Wilkins <gregw_at_intalio.com>
Date: Wed, 11 Feb 2015 16:08:12 +1100

All,

Jetty currently doesn't implement the standard upgrade mechanism and I'm
currently looking to fix that. The spec says:

   When the upgrade processing is done, HttpUpgradeHandler.destroy will be
invoked.

What does "is done" mean? Does it mean both input and output streams
have been closed?

I also note that the spec says async IO can be used, so I assume that means
that startAsync must be called before returning after the request.upgrade
call?

thanks

-- 
Greg Wilkins <gregw_at_intalio.com>  @  Webtide - *an Intalio subsidiary*
http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales
http://www.webtide.com  advice and support for jetty and cometd.