Merged revision 1549909 from tomcat/trunk:
In o.a.tomcat.websocket.server.WsHttpUpgradeHandler.init(WebConnection) if the endpoint is NULL the connection will not be initialized.
Then in o.a.tomcat.websocket.server.WsHttpUpgradeHandler.destroy() the connection should be tested for NULL.


git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1549918 13f79535-47bb-0310-9956-ffa450edef68