[SQU] Byteserving PDF downloads freeze with Squid 2.3.STABLE4

From: Terry Schmidt <tux172@dont-contact.us>
Date: Wed, 28 Feb 2001 16:00:45 -0500

PDF file downloads freeze with Adobe Acrobat 4.0 with Web Browser
Integration Turned on. The file start to load, but the screen appears blank
and freezes. The problem doesn't occur with PDF files that are less than
20k, but does happen with PDF files that are more than 60k. The problem
occurs when the site is cached or if the site is put marked as 'no_cache'.
The problem does not occur when use of the proxy server is turned off on the
client machine..

It appears that the problem might be occur because of a problem with
byteserving which is the method that Adobe Acrobat uses with Web Browser
Integration. Similar problems have been reported with Adobe Acrobat and
Apache 1.3.14 because of byteserving bugs in Apache. My webhost is not
running Apache server however.

I'm running Squid 2.3.STABLE4 on Linux 2.2.17 (Redhat 7.0 Intel).
Client machines are Windows 95, 98, NT, 2000 with IE 4.0, 5.0, 5.5.

An example URL of the problem:
http://www.equityleague.org/PDF/newsletter/9402.pdf

I've checked Squid's Bugzilla, the 2.3 bugs page, and the mailing lists
archives. Only one reference to a similar problem:
http://list.cineca.it/cgi-bin/wa?A2=ind0002&L=squid&P=R26617
But no solution was posted.

Any suggestions on how to solve or bypass this problem??

squid.conf is as follows:

http_port 0.0.0.0:3128
http_port 0.0.0.0:8080
icp_port 0
tcp_outgoing_address 255.255.255.255
udp_incoming_address 0.0.0.0
udp_outgoing_address 255.255.255.255
icp_query_timeout 0
maximum_icp_query_timeout 2000
mcast_icp_query_timeout 2000
dead_peer_timeout 10 seconds
hierarchy_stoplist cgi-bin
hierarchy_stoplist ?
no_cache Deny elfweb
cache_mem 50331648 bytes
cache_swap_low 80
cache_swap_high 100
maximum_object_size 4194304 bytes
minimum_object_size 0 bytes
ipcache_size 1024
ipcache_low 90
ipcache_high 95
fqdncache_size 1024
cache_dir ufs /var/spool/squid 5000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
emulate_httpd_log off
mime_table /etc/squid/mime.conf
log_mime_hdrs off
pid_filename /var/run/squid.pid
debug_options ALL,1
log_fqdn off
client_netmask 255.255.255.255
ftp_user Squid@
ftp_list_width 32
ftp_passive on
unlinkd_program /usr/lib/squid/unlinkd
pinger_program /usr/lib/squid/pinger
redirect_children 5
redirect_rewrites_host_header on
authenticate_program /usr/local/squid/bin/ncsa_auth
authenticate_program /etc/squid/squid.passwd
authenticate_children 5
authenticate_ttl 3600
authenticate_ip_ttl 0
wais_relay_port 0
request_header_max_size 10240 bytes
request_body_max_size 1048576 bytes
reply_body_max_size 0 bytes
refresh_pattern ^ftp: 1440 20% 10080

refresh_pattern ^gopher: 1440 0% 1440

refresh_pattern . 0 20% 4320

replacement_policy LFUDA
reference_age 31557790 seconds
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 300 seconds
positive_dns_ttl 21600 seconds
negative_dns_ttl 300 seconds
range_offset_limit 0 bytes
connect_timeout 120 seconds
peer_connect_timeout 30 seconds
siteselect_timeout 4 seconds
read_timeout 900 seconds
request_timeout 30 seconds
client_lifetime 86400 seconds
half_closed_clients off
pconn_timeout 120 seconds
ident_timeout 10 seconds
shutdown_lifetime 30 seconds
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1
acl SSL_ports port 443
acl SSL_ports port 563
acl Safe_ports port 80
acl Safe_ports port 443
acl Safe_ports port 21
acl Safe_ports port 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 0
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl allowed_hosts src 172.16.4.0/255.255.255.0
acl allowed_hosts src 172.16.6.0/255.255.255.0
acl allowed_hosts src 172.16.8.0/255.255.255.0
http_access Allow manager localhost
http_access Deny manager
http_access Deny !Safe_ports
http_access Deny CONNECT !SSL_ports
http_access Allow localhost
http_access Allow special_users
http_access Deny !related
http_access Deny all
icp_access Deny all
proxy_auth_realm Squid proxy-caching web server
ident_lookup_access Deny all
cache_mgr root@localhost
cache_effective_user squid
cache_effective_group squid
announce_period 31536000 seconds
announce_host tracker.ircache.net
announce_port 3131
httpd_accel_port 80
httpd_accel_with_proxy off
httpd_accel_uses_host_header off
logfile_rotate 0
tcp_recv_bufsize 0 bytes
err_html_text
memory_pools on
memory_pools_limit 0 bytes
forwarded_for on
log_icp_queries on
icp_hit_stale off
minimum_direct_hops 4
store_avg_object_size 13 KB
store_objects_per_bucket 50
client_db on
netdb_low 900
netdb_high 1000
netdb_ping_period 300 seconds
query_icmp off
test_reachability off
buffered_logs off
reload_into_ims off
icon_directory /usr/lib/squid/icons
error_directory /etc/squid/errors
minimum_retry_timeout 5 seconds
maximum_single_addr_tries 3
snmp_port 3401
snmp_access Deny all
snmp_incoming_address 0.0.0.0
snmp_outgoing_address 255.255.255.255
as_whois_server whois.ra.net
wccp_router 0.0.0.0
wccp_version 4
wccp_incoming_address 0.0.0.0
wccp_outgoing_address 255.255.255.255
delay_pools 0
delay_initial_bucket_level 50
incoming_icp_average 6
incoming_http_average 4
min_icp_poll_cnt 8
min_http_poll_cnt 8
max_open_disk_fds 0
offline_mode off
uri_whitespace strip
prefer_direct on
strip_query_terms on
redirector_bypass off
ignore_unknown_nameservers on
client_persistent_connections on
server_persistent_connections on

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Feb 28 2001 - 14:04:25 MST

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