Re: Bug POSTing large requests

From: Duane Wessels <wessels@dont-contact.us>
Date: Fri, 18 Sep 1998 13:14:54 -0600

"Jordan Mendelson" writes:

>Hello all, having some trouble doing a POST request with a long length.. the
>result web page seems to always be truncated... the request in the squid
>logs looks like:
>
>906095880.745 4417 24.40.14.4 TCP_MISS/200 10854 POST
>http://slashdot.org/commentSubmit.pl? - CLOSEST_PARENT/uc.cache.nlanr.net
>text/html
>
>This POST was about 500 characters long...
>
>In my squid.conf file:
>
>request_size 10000 KB
>
>I run squid 1.2b24 (with first patch) under Linux 2.1.109 (SMP) (configured
>for proxy, not transproxy). This problem doesn't seem to appear when proxies
>are turned off however.

These POST problems can be hard to debug.

With some effort, you can use the 'client' program to send post
requests. You have to put the content of your request in a file,
say 'foo', then you execute this command

        % client -m POST -P foo 'http://slashdot.org/commentSubmit.pl?...'

It might help find out if the request is getting cut off, or if the
reply is getting cut off, or ...?

Duane W.
Received on Fri Sep 18 1998 - 12:16:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:04 MST