Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
If a client makes a request which returns multiple rows (eg, a query) but disconnects before reading the response, couch logs:
[error] [<0.66.0>] Uncaught error in HTTP request:
{exit,normal}[info] [<0.66.0>] Stacktrace: [
{mochiweb_request,send,2},
,
,
,
,
,
,
]
This could lead someone to conclude couch has an error which is not correct. A simple [info] record recording the premature normal exit is probably more appropriate.
FYI, the easiest way I found to repro this was to execute:
% python -c "import urllib; urllib.urlopen('http://127.0.0.1:5984/your_db/_design/your_design_doc/_view/your_view?reduce=false').close()"
which causes Python to open a connection and close it without reading anything. I'll attach a patch as suggested generally by jchris.
Attachments
Attachments
Issue Links
- duplicates
-
COUCHDB-394 Intermittent HTTP 500 errors on queries, no useful diagnostics
- Closed