[squid-users] Invalid request error of Squid 2.6 PRE3 on Windows.

From: fulan Peng <fulanpeng@dont-contact.us>
Date: Sun, 27 Aug 2006 20:41:48 -0400

Hi,
I have compiled Squid 2.6PRE3 on Windows XP SP2 with the latest Cygwin
and with SSL enabled. It works with the http port but won't work with
the https port.

Attached is my squid.conf file and the log file. Some one please help
me to give a dirty fix so as I can run it some how.

I also compile the 3.0 PRE4. The Squid won't start because of the
known bug of the maximum number of file descritor problem. If you
know there is a patch to let me run any ways that will be great!

Thanks!

Fulan Peng.

Here is my squid.conf and some text cut from the log.

http_port 127.0.0.1:80 vhost vport
cache_peer zyzg.org.ru parent 80 0 originserver

https_port 443 cert=c:\squid\etc\cert.pem key=c:\squid\etc\key.pem
cache_peer breakevilaxis.org parent 80 0 originserver
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
access_log c:/squid/var/logs/access.log squid
debug_options ALL,9
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
# Deny requests to unknown ports
http_access deny !Safe_ports
# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports
http_access allow all

http_reply_access allow all
icp_access allow all
coredump_dir c:/squid/var/cache
==========================================

2006/08/27 18:59:42| storeClientCopy3: Copying from memory
2006/08/27 18:59:42| memCopy: offset 0: size 4096
2006/08/27 18:59:42| storeSwapOut: lowest_offset = 0
2006/08/27 18:59:42| cbdataValid: 0x1023c128
2006/08/27 18:59:42| clientSendMoreHeaderData: error:invalid-request, 1760 bytes
2006/08/27 18:59:42| clientSendMoreHeaderData: FD 10
'error:invalid-request', out.offset=0
2006/08/27 18:59:42| creating rep: 0x1023e510
2006/08/27 18:59:42| init-ing hdr: 0x1023e554 owner: 2
2006/08/27 18:59:42| 0x1023e554 lookup for 38
2006/08/27 18:59:42| 0x1023e554 lookup for 9
2006/08/27 18:59:42| 0x1023e554 lookup for 38
2006/08/27 18:59:42| 0x1023e554 lookup for 9
2006/08/27 18:59:42| 0x1023e554 lookup for 22
2006/08/27 18:59:42| cleaning hdr: 0x1023e554 owner: 2
2006/08/27 18:59:42| init-ing hdr: 0x1023e554 owner: 2
2006/08/27 18:59:42| 0x1023e554 lookup for 38
2006/08/27 18:59:42| 0x1023e554 lookup for 9
2006/08/27 18:59:42| 0x1023e554 lookup for 38
2006/08/27 18:59:42| 0x1023e554 lookup for 9
2006/08/27 18:59:42| 0x1023e554 lookup for 22
2006/08/27 18:59:42| parsing hdr: (0x1023e554)
Server: squid/2.6.STABLE3

Date: Sun, 27 Aug 2006 22:59:42 GMT

Content-Type: text/html

Content-Length: 1547

Expires: Sun, 27 Aug 2006 22:59:42 GMT

X-Squid-Error: ERR_INVALID_REQ 0
Received on Sun Aug 27 2006 - 18:41:57 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT