Ticket #389 (defect)
Opened 3 years ago
Last modified 3 years ago
Firefox 1.0.7 causes socket error 113
Status: closed (fixed)
| Reported by: | techdir _at_ emailbins.com | Assigned to: | rdelon |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1-final |
| Component: | CherryPy code | Keywords: | socket error |
| Cc: |
I am new to CP, using 2.1.0 downloaded from Download link. Running the tutorials (e.g., tut07...) and clicking quickly on the 'refresh' button (e.g., to update the counter) causes a socket error in _cpwsgiserver.py in the write() method. This occurs with Firefox 1.0.7 but does not occur with IE (V6). The error is (113, "Software caused connection abort"). I assume it's caused by Firefox being unsocial and closing the connection. Work around was to put the method in a try/except and ignore socker.error if args[0] is 113. The error also has occurred in other places in _cpwsgiserver.py (usu. at a flush() call) but I do not have anything yet that duplicates this. Using python 2.4.1 running under cygwin (recently updated).
Change History
11/13/05 18:26:25: Modified by fumanchu
11/15/05 09:48:47: Modified by fumanchu
- status changed from new to closed.
- resolution set to fixed.
Fixed in [825].


Try adding '113' to the tuple in _cpwsgiserver, line 250 in 2.1.0 (in current trunk, line 220). If you say that fixes it, I'd be happy to commit it to HEAD.