Greg Stein
gstein at lyra.org
Mon Aug 14 12:53:29 EST 2000
Nope. Haven't been reading it. ap_get_client_block() returns a length. It can definitely return a length less than that requested. Or is it that length==0 gets returned before the end of the request? (which would typically end the read loop) Cheers, -g On Mon, Aug 14, 2000 at 12:08:19PM -0400, Gregory Trubetskoy wrote: > > Greg - > > Are you following this thread? This could could qualify as a bug in > Apache if Dr. Timochouk is right. > > Grisha > > > ---------- Forwarded message ---------- > Date: Mon, 14 Aug 2000 15:44:19 +0100 (BST) > From: Dr. L.A. Timochouk <L.A.Timochouk at ukc.ac.uk> > To: Gregory Trubetskoy <grisha at modpython.org> > Cc: mod_python at modpython.org > Subject: Re: [mod_python] A patch for mod_python-2.4.1 > > Yes, it appeared to us that "ap_get_client_block" is susceptible to short > reads -- it indeed reads a BLOCK until the end of the current IP datagram > but no further. The problem was discovered when we implemented our Web > site with relatively large user submissions (by POST) using the current > version of mod_python. The exact cause of the problem was identified with > the help of "tcpdump". > > Sincerely, L.A.Timochouk -- Greg Stein, http://www.lyra.org/
|