Received: (qmail 56644 invoked by uid 501); 5 Oct 2001 19:07:42 -0000 Message-Id: <20011005190742.56643.qmail@apache.org> Date: 5 Oct 2001 19:07:42 -0000 From: mike geiger Reply-To: mike@percurrence.com To: submit@bugz.apache.org Subject: apr_recv times out X-Send-Pr-Version: 3.110 >Number: 8475 >Category: os-windows >Synopsis: apr_recv times out >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Oct 05 12:10:01 PDT 2001 >Closed-Date: Thu Apr 04 20:45:42 PST 2002 >Last-Modified: Thu Apr 04 20:45:42 PST 2002 >Originator: mike@percurrence.com >Release: http://cvs.apache.org/snapshots/httpd-2.0/... oct 5, 2001 3:12 >Organization: >Environment: Win32 visual studio Win2000 sp1 >Description: When posting a request that contains a Content-Length (even if it is 0) the first call to WSARecv return the correct buffer. The second call waits and eventually times out with this stack: apr_recv(apr_socket_t * 0x007e6cb0, char * 0x0081d790, unsigned int * 0x1086de48) line 110 socket_read(apr_bucket * 0x0081d728, const char * * 0x1086de54, unsigned int * 0x1086de48, int 0) line 75 + 18 bytes core_input_filter(ap_filter_t * 0x007e6f78, apr_bucket_brigade * 0x007ef598, int 0, __int64 * 0x1086de8c) line 2883 + 25 bytes ap_get_brigade(ap_filter_t * 0x007e6f78, apr_bucket_brigade * 0x007ef598, int 0, __int64 * 0x1086de8c) line 250 + 24 bytes ap_getline(char * 0x1086dee0, int 8192, request_rec * 0x007eee10, int 0) line 224 + 25 bytes read_request_line(request_rec * 0x007eee10) line 401 + 23 bytes ap_read_request(conn_rec * 0x007e6d68) line 588 + 9 bytes ap_process_http_connection(conn_rec * 0x007e6d68) line 283 + 9 bytes ap_run_process_connection(conn_rec * 0x007e6d68) line 82 + 78 bytes ap_process_connection(conn_rec * 0x007e6d68) line 221 worker_main(int 248) line 907 _threadstartex(void * 0x0081d500) line 212 + 13 bytes KERNEL32! 77e8758a() Tried with various verbs "GET", "POST", "PROPFIND" >How-To-Repeat: Request any URL (even non-existent) with a Content-Length header. E.g., add this to index.html:
>Fix: Don't understand the code well enough yet. >Release-Note: >Audit-Trail: From: "Mike Geiger" To: Cc: Subject: RE: os-windows/8475: apr_recv times out Date: Fri, 5 Oct 2001 12:13:10 -0700 FYI, this bug did not occur in the beta 1 build (httpd-2_0_16). --Mike -----Original Message----- From: submit@bugz.apache.org [mailto:submit@bugz.apache.org] Sent: Friday, October 05, 2001 12:10 PM To: Mike Geiger Subject: Re: os-windows/8475: apr_recv times out Thank you very much for your problem report. It has the internal identification `os-windows/8475'. The individual assigned to look at your report is: apache.=20 >Category: os-windows >Responsible: apache >Synopsis: apr_recv times out >Arrival-Date: Fri Oct 05 12:10:01 PDT 2001 From: "Mike Geiger" To: Cc: Subject: RE: os-windows/8475: apr_recv times out Date: Fri, 5 Oct 2001 12:13:10 -0700 FYI, this bug did not occur in the beta 1 build (httpd-2_0_16). --Mike -----Original Message----- From: submit@bugz.apache.org [mailto:submit@bugz.apache.org] Sent: Friday, October 05, 2001 12:10 PM To: Mike Geiger Subject: Re: os-windows/8475: apr_recv times out Thank you very much for your problem report. It has the internal identification `os-windows/8475'. The individual assigned to look at your report is: apache.=20 >Category: os-windows >Responsible: apache >Synopsis: apr_recv times out >Arrival-Date: Fri Oct 05 12:10:01 PDT 2001 State-Changed-From-To: open-feedback State-Changed-By: slive State-Changed-When: Wed Nov 14 12:53:09 PST 2001 State-Changed-Why: [This is a standard response.] This Apache problem report has not been updated recently. Please reply to this message if you have any additional information about this issue, or if you have answers to any questions that have been posed to you. If there are no outstanding questions, please consider this a request to try to reproduce the problem with the latest software release, if one has been made since last contact. If we don't hear from you, this report will be closed. If you have information to add, BE SURE to reply to this message and include the apbugs@Apache.Org address so it will be attached to the problem report! State-Changed-From-To: feedback-closed State-Changed-By: wrowe State-Changed-When: Thu Apr 4 20:45:42 PST 2002 State-Changed-Why: [This is a standard response.] No response from submitter, assuming issue has been resolved. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]