Search squid archive

POST gives Empty Document - Error with 502-http-code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
I can't make http - Uploads with a POST - Request bigger than ~ 1500 Byte and I can't see why. (The whole squid.conf is attached)


The mystic behavior I don't understand is:

with "request_body_max_size 0 KB" I get the following results:

 - When I try to upload a small file (~ 1596 Byte), it works fine.
 - When I try to upload a bigger file (~ 665879 Byte) the result is:
   Error: Document is empty
   ->In access.log: ... POST 502 ...

--ok, then
with "request_body_max_size 1 KB" I get the following results:

- When I try to upload a small file (~ 1596 Byte), I get a Squid Error-Page: Filesize too large - When I try to upload a bigger file (~ 665879 Byte), I get a Squid Error-Page: Filesize too large

--ok, then
with "request_body_max_size 2048 KB" I receive the same behaviour/results as with "request_body_max_size 0 KB", too.


I have no idea why,
and,
this happens independent from the server I'm trying to get my files uploaded.

So my question is:
What else, in squid.conf as well as in my tcp/ip configuration, could cause this behaviorship

Thanks, any help apreceated
and forgive me for my bad english

Bernd

#########################################
#########################################
#########################################

Here's my squid.conf:

maximum_object_size 2048 KB
cache_dir ufs /usr/local/squid/var/cache 3000 32 256
ftp_user anonymous@xxxxxxxxxxx
dns_timeout 20 seconds
request_header_max_size 2 kb
request_body_max_size 2048 kb
forward_timeout 20 seconds
connect_timeout 20 seconds
peer_connect_timeout 5 seconds
shutdown_lifetime 10 seconds
reply_header_max_size 1024 KB
error_directory /usr/local/squid/share/errors/German
log_icp_queries off
relaxed_header_parser of
cache_effective_user proxy
http_port 8080
icp_port 0
cache_peer 192.168.1.1 parent 80 7 no-query
cache_mem 16 MB
visible_hostname wendyrad.bk.medienberufe.de
maximum_object_size 2048 KB
cache_dir ufs /usr/local/squid/var/cache 3000 32 256
ftp_user anonymous@xxxxxxxxxxx
dns_timeout 20 seconds
request_header_max_size 2 kb
request_body_max_size 2048 kb
forward_timeout 20 seconds
connect_timeout 20 seconds
peer_connect_timeout 5 seconds
shutdown_lifetime 10 seconds
reply_header_max_size 1024 KB
error_directory /usr/local/squid/share/errors/German
log_icp_queries off
relaxed_header_parser of

##################################################

Thanks anyway,
Bernd
--
Berufskolleg für Medienberufe der
bm – gesellschaft für bildung in medienberufen mbh
http://www.medienberufe.de/berufskolleg

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux