https://issues.apache.org/bugzilla/show_bug.cgi?id=53829
Priority: P2 Bug ID: 53829 Assignee: dev@tomcat.apache.org Summary: Timed out websocket hangs on send Severity: major Classification: Unclassified OS: Windows XP Reporter: matsondaw...@gmail.com Hardware: PC Status: NEW Version: 7.0.29 Component: Catalina Product: Tomcat 7 Timed out websocket hangs on send. Component: Websockets Java: 1.6.25 and 1.6.30 Tomcat: 7.0.29 OS: Windows Xp and SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 1 Severity: Firewalls: none Web server: Direct to Tomcat Configuration: Default tomcat 7.0.29 Reproduce: In a websocket chat application with firefox... Place a breakpoint in your websocket servlet such that firefox times out on websocket connect (usually about 20 seconds). Once firefox times out continue from your breakpoint, connection is stored in chat application. Attempt to write to socket (even though unknown to application it has reset), socket hangs. Expected: Socket should throw exception. Wireshark Logs: GET /ui/websocket/hearing/hearing/1200104 HTTP/1.1 Host: moj117894:8080 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-gb,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive, Upgrade Sec-WebSocket-Version: 13 Origin: http://moj117894:8080 Sec-WebSocket-Key: yaf7QYaa4NGb1V5okQ76zA== Cookie: JSESSIONID=1B535D70EAF05760390C784EF340B30C Pragma: no-cache Cache-Control: no-cache Upgrade: websocket HTTP/1.1 101 Switching Protocols Server: Apache-Coyote/1.1 Upgrade: websocket Connection: upgrade Sec-WebSocket-Accept: fuw+jh8p4BEW0MwPFbYRV2xOr3Q= Transfer-Encoding: chunked Date: Wed, 05 Sep 2012 03:29:17 GMT 1 0.000000 10.134.2.149 10.134.2.160 TCP 62 questnotify > http-alt [SYN] Seq=0 Win=65535 Len=0 MSS=1460 SACK_PERM=1 2 0.000022 10.134.2.160 10.134.2.149 TCP 62 http-alt > questnotify [SYN, ACK] Seq=0 Ack=1 Win=65535 Len=0 MSS=1460 SACK_PERM=1 3 0.000203 10.134.2.149 10.134.2.160 TCP 60 questnotify > http-alt [ACK] Seq=1 Ack=1 Win=65535 Len=0 4 0.000319 10.134.2.149 10.134.2.160 HTTP 599 GET /ui/websocket/hearing/hearing/1200104 HTTP/1.1 5 0.225306 10.134.2.160 10.134.2.149 TCP 54 http-alt > questnotify [ACK] Seq=1 Ack=546 Win=64990 Len=0 6 31.819501 10.134.2.160 10.134.2.149 TCP 275 [TCP segment of a reassembled PDU] 7 32.017702 10.134.2.149 10.134.2.160 TCP 60 questnotify > http-alt [ACK] Seq=546 Ack=222 Win=65314 Len=0 8 37.890816 10.134.2.160 10.134.2.149 TCP 54 http-alt > questnotify [RST, ACK] Seq=222 Ack=546 Win=0 Len=0 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org