netty/netty — pull request #586 by sprsquish (2012-09-09 03:47:33+00:00)
Title: Upgrade websocket connection after completed response

Channel handlers above the HttpEncoder may delay the repsonse being
written to the socket. We need to wait for the response to complete
before upgrading the pipeline.