[AOLSERVER] ns_conn contentlength, URL length?

2002-04-05 Thread Andrew Piskorski
What exactly is the 'ns_conn contentlength' command really for? The docs say only, ns_conn contentlength returns the number of bytes in the content passed in. In fact, that command is just returning the conn-contentLength value out of the Ns_Conn structure. But, what is conn-contentLength

Re: [AOLSERVER] ns_conn contentlength, URL length?

2002-04-05 Thread Rusty Brooks
I believe it's the content length of the posted content. I'm assuming that you've already tried [ns_conn request] and that's truncated? Rusty On Fri, 5 Apr 2002, Andrew Piskorski wrote: What exactly is the 'ns_conn contentlength' command really for? The docs say only, ns_conn contentlength

Re: [AOLSERVER] ns_conn contentlength, URL length?

2002-04-05 Thread David Walker
Return an error if the length is equal to $maxline There is only the tiniest possibility that a url will come to exactly that length and even then it is pretty long. On Friday 05 April 2002 06:00 pm, you wrote: On Fri, Apr 05, 2002 at 05:42:33PM -0600, Rusty Brooks wrote: I believe it's the

Re: [AOLSERVER] ns_conn contentlength, URL length?

2002-04-05 Thread Andrew Piskorski
On Fri, Apr 05, 2002 at 06:29:49PM -0600, David Walker wrote: Return an error if the length is equal to $maxline There is only the tiniest possibility that a url will come to exactly that length and even then it is pretty long. Ah, I meant, return and error to the user if the URL he gave

Re: [AOLSERVER] ns_conn contentlength, URL length?

2002-04-05 Thread David Walker
The thing is that if the length is equal to maxline than it was truncated. 99.997% chance that is true. You don't have to worry about people who just happened to get a url of that length. It won't happen. If you are afraid it will happen then increase $maxline by one. On Friday 05 April 2002