我使用带有websocket应用程序的Tomcat 7.0.43.我的应用程序在Tomcat 7.0.42中工作正常,但是当我尝试在websockets上访问我的服务器时,我得到以下输出:
Sep 16, 2013 3:08:34 AM org.apache.coyote.http11.AbstractHttp11Processor process
INFO: Error parsing HTTP request header
Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.
Run Code Online (Sandbox Code Playgroud)
我的浏览器控制台显示以下内容
WebSocket connection to 'ws://www.testapp.com/socket/notification/848df2e62fcf93e1b3?X-Atmosphere-tracking-i…Date=0&Content-Type=application/json;%20charset=UTF-8&X-atmo-protocol=true' failed: Unrecognized frame opcode: 5
Run Code Online (Sandbox Code Playgroud)
以下是该请求的访问日志:
"GET /socket/notification/848df2e62fcf93e1b3?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.0.2-javascript&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&Content-Type=application/json;%20charset=UTF-8&X-atmo-protocol=true HTTP/1.1"
Run Code Online (Sandbox Code Playgroud)
Tomcat 7.0.43有什么变化?我需要改变什么?