You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "William A. Rowe, Jr." <wr...@covalent.net> on 2001/10/06 09:52:18 UTC

Fw: os-windows/8475: apr_recv times out

More input filtering breakage, I suspect...

----- Original Message -----
From: "mike geiger" <mi...@percurrence.com>
To: <su...@bugz.apache.org>
Sent: Friday, October 05, 2001 2:07 PM
Subject: os-windows/8475: apr_recv times out


>
> >Number:         8475
> >Category:       os-windows
> >Synopsis:       apr_recv times out
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    apache
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   apache
> >Arrival-Date:   Fri Oct 05 12:10:01 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator:     mike@percurrence.com
> >Release:        http://cvs.apache.org/snapshots/httpd-2.0/... oct 5, 2001 3:12
> >Organization:
> apache
> >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:
>
> <form action="http://localhost:8080/index.html" method="post">
> <input type="text"></input>
> <input type="submit"></input>
> </form>
> >Fix:
> Don't understand the code well enough yet.
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>  [In order for any reply to be added to the PR database, you need]
>  [to include <ap...@Apache.Org> 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!     ]
>
>
>
>