Bugs item #468345, was opened at 2001-10-05 09:42
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=468345&group_id=3152

Category: Architecture: Server (nsd)
Group: aolserver3_4
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Jim Wilcoxson (rubylane)
>Assigned to: Jim Davidson (jgdavidson)
Summary: ns_form conn delays 30 seconds

Initial Comment:
With 3.4, [ns_conn form] has a 30 second delay
(exactly, every time) when used with a request
submitted as multipart/form-data (file upload).

2.3.3 doesn't have this delay, nor does [ns_getform]
in 3.4

----------------------------------------------------------------------

>Comment By: Jim Davidson (jgdavidson)
Date: 2001-11-25 14:10

Message:
Logged In: YES
user_id=20624

New connection I/O model in 4.0 isn't subject to this
read-ahead problem.  Would be difficult to work around
problem in 3.x.

----------------------------------------------------------------------

Comment By: Jim Wilcoxson (rubylane)
Date: 2001-10-18 07:40

Message:
Logged In: YES
user_id=291997

I should have mentioned that to duplicate this, you use
ns_getform first on the connection, then use ns_conn form.
After looking at the code, my theory is that ns_getform
doesn't set the state variables that [ns_conn form] is
looking for, so the call to [ns_conn form] calls
Ns_ConnGetQuery and eventually tries to read the POST data
from the connection.  But it has already been read by
ns_getform, so after a 30 second socket timeout, it
returns.

Suggested fixes might be to put ns_getform in conn.c or put
helper functions in conn.c that ns_getform can call to set
state vars.

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=468345&group_id=3152

Reply via email to