netty/netty — pull request #589 by sprsquish (2012-09-09 15:58:25+00:00)
Title: Upgrade 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.