Not sure this still applies. This code section has changed
significantly in the main branch and maxpost has been replaced by
maxinput, or so it appears. Might still want to file it a as a bug on
SF as Zoran suggested (with the right AOLserver version it affects) so
we do have a record of it.

/s.

On Mar 30, 2004, at 11:33 AM, Zoran Vasiljevic wrote:

On Tuesday 30 March 2004 18:09, you wrote:
I think this bit here where it checks length < 0 && length > maxpost
should almost certainly be || rather than &&.

        /*
         * Check for end of headers.
         */

        if (e == s) {
            reqPtr->coff = reqPtr->roff;
            s = Ns_SetIGet(reqPtr->headers, "content-length");
            if (s != NULL) {
                reqPtr->length = atoi(s);
                if (reqPtr->length < 0
                    && reqPtr->length >
sockPtr->drvPtr->servPtr->limits.maxpost) { return SOCK_ERROR;
                }
            }
          } else { ...

--
Jeff Davis http://xarg.net mailto:[EMAIL PROTECTED]

Care to post a bug-report in SF so it does not slip under the carpet?

Cheers,
Zoran


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.



--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to