diff -ruN squid-2.5.STABLE12/ChangeLog squid-2.5.STABLE13/ChangeLog --- squid-2.5.STABLE12/ChangeLog Thu Oct 20 11:46:07 2005 +++ squid-2.5.STABLE13/ChangeLog Sun Mar 12 04:18:41 2006 @@ -1,3 +1,44 @@ +Changes to squid-2.5.STABLE12 (12 Mar 2006) + - [Minor] Fails to compile on Solaris and some other platforms + with undefined reference to setenv (Bug #1435) + - [Cosmetic] Added WebDAV REPORT method to know HTTP methods list + - [Minor] Squid ntlm_auth (not the Samba provided one) giving + odd results if --enable-ntlm-fail-open is used (Bug #1022) + - [Minor] wbinfo_group.pl doesn't work with Samba 3.0.21 and later + (Bug #1472) + - [Minor] Squid crash when asyncio function counters url accessed + from Cachemgr CGI (Bug #1464) + - [Cosmetic] Linix compile warning about prctl called with too few + arguments (Bug #1483) + - [Minor] Wrong timezone declaration for 64 bit Irix (Bug #1479) + - [Minor] Some 206 responses logged incorrectly (Bug #1511) + - [Minor] Issues in processing ranges on objects >2GB (Bug #437) + - [Cosmetic] Segmentation fault on empty proxy_auth ACLs (Bug #1414) + - [Minor] Ident access lists don't work in delay_access statements + (Bug #1428) + - [Minor] Some clients support NTLM even if not initially negotiating + persistent connections (Bug #1447) + - [Medium] 504 Gateway Time-out on FTP uploads (Bug #1459) + - [Medium] delay pools given too much bandwidht after "-k reconfigure" + (Bug #1481) + - [Cosmetic] New persistent_connection_after_error configuration + directive (Bug #1482) + - [Cosmetic] Hangs at 100% CPU if /dev/null is not accessible (Bug + #1484) + - [Minor] Fails to compile on Fedora Core 5 test 2 x86_64 (Bug #1492) + - [Cosmetic] Typo in ftp.c (Bug #1507) + - [Cosmetic] Error in FTP listings of files with -> in their name + (Bug #1508) + - [Cosmetic] With Squid-2.5 there is no more the DUPLICATE IP logging + in cache.log (Bug #779) + - [Minor] Fails to process long host names (Bug #1434) + - [Cosmetic] Azerbaijani errors translation (Bug #1454) + - [Cosmetic] misleading error message message for bad/unresolveable + cache_peer name (Bug #1504) + - [Cosmetic] confusing statistics on stateful helpers (NTLM auth) + (Bug #1506) + - [Major] connstate memory leak (Bug #1522) + Changes to squid-2.5.STABLE12 (22 Oct 2005) - [Major] Error introduced in 2.5.STABLE11 causing truncated responses diff -ruN squid-2.5.STABLE12/RELEASENOTES.html squid-2.5.STABLE13/RELEASENOTES.html --- squid-2.5.STABLE12/RELEASENOTES.html Sat Oct 22 03:56:18 2005 +++ squid-2.5.STABLE13/RELEASENOTES.html Sun Mar 12 04:29:34 2006 @@ -7,7 +7,7 @@

Squid 2.5.STABLE12 release notes

-

Squid Developers

$Id: release-2.5.html,v 1.1.2.65 2005/10/18 16:14:30 hno Exp $ +

Squid Developers

$Id: release-2.5.html,v 1.1.2.68 2006/03/12 11:04:41 hno Exp $
This document contains the release notes for version 2.5 of Squid. Squid is a WWW Cache application developed by the National Laboratory @@ -140,6 +140,7 @@
relaxed_http_parser

New directive in 2.5.STABLE8 to control how strict the HTTP parser should be.

retry_on_error

New directive in 2.5.STABLE9 to aggressive retry requests on errors (was the default in earlier versions)

acl dst

No longer matches invalid hosts. Was previously using the IP address "255.255.255.255" on invalid hosts.

+
persistent_connection_after_error

New directive in 2.5.STABLE13 to allow disabling the use of persistent connections after error pages (access denied etc).

@@ -153,10 +154,15 @@
Bug #649

Problems refreshing pages stored with 'vary' information

Bug -#779

users going above their allowed IP count no longer logged in cache.log

-
Bug #888

ntlm_user_pool assertion error on shutdown

-
Ipfilter 4.x issues

+

Bug +#1420

302 responses with an Expires header is always cached

+
Bug +#1500

diskd related memory corruption under heavy load

+ +

+ +

Ipfilter 4.x compile problem on HP Tru64

- -

In addition there is a set of limitations in this version of Squid which we hope to correct later

@@ -464,6 +468,21 @@
  • a number of other minor and cosmetic bugfixes. See the list of squid-2.5.STABLE11 patches and the +ChangeLog file for details.
  • + +

    + +

    15. Key changes squid-2.5.STABLE12 to 2.5.STABLE13:

    + +

    +

    diff -ruN squid-2.5.STABLE12/SPONSORS squid-2.5.STABLE13/SPONSORS --- squid-2.5.STABLE12/SPONSORS Wed Nov 19 07:42:07 2003 +++ squid-2.5.STABLE13/SPONSORS Tue Jan 24 08:48:15 2006 @@ -12,11 +12,9 @@ MARA Systems AB - http://www.marasystems.com/ - MARA systems is a key player in current Squid developments, - being the home of one of the core Squid developers. MARA Systems - continuously enhances Squid to meet their and their customers - demands, and takes an active role in the general development - process. + MARA systems has sponsored the bug fixing and maintentnance for + most Squid-2.5 releases, and a number of new features to be found + in Squid-3. Swell Technology - http://www.swelltech.com/ diff -ruN squid-2.5.STABLE12/configure squid-2.5.STABLE13/configure --- squid-2.5.STABLE12/configure Sat Oct 22 03:56:01 2005 +++ squid-2.5.STABLE13/configure Sun Mar 12 04:29:22 2006 @@ -1027,7 +1027,7 @@ # Define the identity of the package. PACKAGE=squid -VERSION=2.5.STABLE12 +VERSION=2.5.STABLE13 cat >> confdefs.h <&6 echo "configure:1084: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. diff -ruN squid-2.5.STABLE12/configure.in squid-2.5.STABLE13/configure.in --- squid-2.5.STABLE12/configure.in Sat Oct 22 03:56:01 2005 +++ squid-2.5.STABLE13/configure.in Sun Mar 12 04:29:22 2006 @@ -3,15 +3,15 @@ dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.251.2.105 2005/10/22 09:54:32 hno Exp $ +dnl $Id: configure.in,v 1.251.2.107 2006/03/12 11:19:07 hno Exp $ dnl dnl dnl AC_INIT(src/main.c) AC_CONFIG_AUX_DIR(cfgaux) -AM_INIT_AUTOMAKE(squid, 2.5.STABLE12) +AM_INIT_AUTOMAKE(squid, 2.5.STABLE13) AM_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.251.2.105 $)dnl +AC_REVISION($Revision: 1.251.2.107 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AM_MAINTAINER_MODE diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_ACCESS_DENIED squid-2.5.STABLE13/errors/Azerbaijani/ERR_ACCESS_DENIED --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_ACCESS_DENIED Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_ACCESS_DENIED Fri Mar 10 15:48:01 2006 @@ -0,0 +1,26 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Giriş qadağandır. + +

      +Hal-hazirda giriş nəzarəti qaydaları sorğunuzun cavablandırılmasına qadağa qoyur. +Qadağanın düz olmadığı təqdirdə, xahiş edirik, İnternet servis xidmətçinizə müraciət +edəsiniz. +

    +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_CACHE_ACCESS_DENIED squid-2.5.STABLE13/errors/Azerbaijani/ERR_CACHE_ACCESS_DENIED --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_CACHE_ACCESS_DENIED Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_CACHE_ACCESS_DENIED Fri Mar 10 15:48:01 2006 @@ -0,0 +1,33 @@ + + +SƏHV:Keşdən istifadə qadağandır. + + + +

    SƏHV

    +

    Keşdən istifadə qadağandır

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Keşdən istifaə qadağandır + +
    +

    + +

    Üzr istəyirik, Siz aşağıdakı: +

        %U
    +unvanına, keşdə identifikasiyanı keçməyəcəyiniz təqdirdə sorğu verə bilməzsiniz. +

    + +

    +Bunun üçün sizə Netscape 2.0 və ya daha yuxarı versiyalı, Microsoft Internet +Explorer 3.0 və ya daha yuxarı versiyalı, ya da HTTP/1.1protokoluna uyğun brauzer tələb olunur. İdentifikasiya ilə çətinlik olduğu halda, xahiş edirik, KEŞİN sistem administratoru ilə əlaqə saxlayın və ya şifrənizi +dəyişdirin. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_CACHE_MGR_ACCESS_DENIED squid-2.5.STABLE13/errors/Azerbaijani/ERR_CACHE_MGR_ACCESS_DENIED --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_CACHE_MGR_ACCESS_DENIED Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_CACHE_MGR_ACCESS_DENIED Fri Mar 10 15:48:01 2006 @@ -0,0 +1,32 @@ + + +SƏHV: Keş idarəetməsinə giriş qadağandır + + + +

    SƏHV

    +

    Keş idarəetməsinə giriş qadağandır

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Keş idarəetməsinə giriş qadağandır + +
    +

    + +

    Üzr istəyirik, Siz aşağıdakı: +

        %U
    +unvanına, keşdə identifikasiyanı keçməyəcəyiniz təqdirdə sorğu verə bilməzsiniz. +

    + +

    +Bunun üçün sizə Netscape 2.0 və ya daha yuxarı versiyalı, Microsoft Internet +Explorer 3.0 və ya daha yuxarı versiyalı, ya da HTTP/1.1protokoluna uyğun brauzer tələb olunur. İdentifikasiya ilə çətinlik olduğu halda, xahiş edirik, KEŞİN sistem administratoru ilə əlaqə saxlayın və ya Siz administrator olduğunuz halda keş idarəetmə interfeysi ilə bağlı sənədləri oxuyun və keş jurnalını daha ətraflı səhv qeydləri üçün yoxlayın. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_CANNOT_FORWARD squid-2.5.STABLE13/errors/Azerbaijani/ERR_CANNOT_FORWARD --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_CANNOT_FORWARD Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_CANNOT_FORWARD Fri Mar 10 15:48:01 2006 @@ -0,0 +1,27 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı.

    +
    +

    URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Hal-hazırda sorğunuzu yönlədirmək mümkün deyildir. + +
    + +

    +Sorğu hədəf serverə, və ya digər yuxarı səviyyəli keş serverələrə göndərilə bilməz.Səhvin mümkün səbəbləri: +

      +
    • Keş administratoru bu keşin hədəf serverləri birbaşa sorğulamasını qadağan etmişdir və ya +
    • Bütün yuxarı səviyyəli keş-serverlər hal-hazırda əlçatmazdılar. +
    +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_CONNECT_FAIL squid-2.5.STABLE13/errors/Azerbaijani/ERR_CONNECT_FAIL --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_CONNECT_FAIL Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_CONNECT_FAIL Fri Mar 10 15:48:01 2006 @@ -0,0 +1,28 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı.

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Əlaqə yaratmaq mümkün olmadı. + +
    + +

    +Sistemdən gələn cavab: +

        %E
    + +

    +Hədəf server və ya şəbəkə cavab vermir.Xahiş edirik, sorğunu təkrarlayın. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_DNS_FAIL squid-2.5.STABLE13/errors/Azerbaijani/ERR_DNS_FAIL --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_DNS_FAIL Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_DNS_FAIL Fri Mar 10 15:48:01 2006 @@ -0,0 +1,35 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +
    +%U +

    +Aşağıdakı səhv baş vermişdir: +

    +Uzaqda yerləşən kompyuterin İP adresini təyin mumkun olmadı +%H +
    + + +

    +Domen Adları serverindən gələn cavab: +

    +%z +
    + +

    +Bu o deməkdir ki: +

    +Keş URL-də göstərilmiş serveri təyin edə bilmir.
    +Adresin düzgün yazıldığını yoxlayın.
    +
    +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FORWARDING_DENIED squid-2.5.STABLE13/errors/Azerbaijani/ERR_FORWARDING_DENIED --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FORWARDING_DENIED Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FORWARDING_DENIED Fri Mar 10 15:48:01 2006 @@ -0,0 +1,25 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı.

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Yönləndirmə qadağandır. + +
    + +

    +Sibling tipli əlaqə yaratmaq cəhdinə görə keş sorğunuzu yönləndirməyəcəkdir. Güman ki, %i müştərisi tələblərə uyğun olmayan keşdir. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_DISABLED squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_DISABLED --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_DISABLED Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_DISABLED Fri Mar 10 15:48:01 2006 @@ -0,0 +1,28 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +FTP protokolu qadağandır. + +
    + +

    +Bu keş FTP protokolunu təmin etmir. +

    + +

    +Sizin keş administratorunuz %w +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_FAILURE squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_FAILURE --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_FAILURE Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_FAILURE Fri Mar 10 15:48:01 2006 @@ -0,0 +1,25 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı FTP protokolu uzrə aşağıdakı səhv baş vermişdir: +%U +

    +Keş FTP-nin növbəti əmrini göndərmişdir: +

    
    +	%f
    +
    +və alınan cavab +
    
    +	%F
    +
    +

    +Mümkün səbəblərdən biri sorğu zamanı istifadə olunan FTP adresin RFC 1738 standartlarına uyğun gəlməməsidir. Problemlə bağlı informasiyanı %B adresində axtarın. +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_FORBIDDEN squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_FORBIDDEN --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_FORBIDDEN Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_FORBIDDEN Fri Mar 10 15:48:01 2006 @@ -0,0 +1,27 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı FTP protokolu uzrə aşağıdakı səhv baş vermişdir: +%U +

    +SQUID FTP-nin növbəti əmrini göndərmişdir: +

    
    +	%f
    +
    +və alınan cavab +
    
    +	%F
    +
    +
    
    +	%g
    +
    + +

    +Sizin keş administratorunuz %w + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_NOT_FOUND squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_NOT_FOUND --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_NOT_FOUND Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_NOT_FOUND Fri Mar 10 15:48:01 2006 @@ -0,0 +1,28 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı FTP protokolu uzrə aşağıdakı səhv baş vermişdir: +%U +

    +Keş FTP-nin növbəti əmrini göndərmişdir: +

    
    +	%f
    +
    +və alınan cavab +
    
    +	%F
    +
    +
    
    +	%g
    +
    +

    +Mümkün səbəblərdən biri sorğu zamanı istifadə olunan FTP adresin RFC 1738 standartlarına uyğun gəlməməsidir. Əgər səbəb budursa faylı%B adresində tapa bilersiniz. +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_PUT_CREATED squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_PUT_CREATED --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_PUT_CREATED Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_PUT_CREATED Fri Mar 10 15:48:01 2006 @@ -0,0 +1,12 @@ + + +FTP PUT müvəfəqiyyətlə başa çatdı: Fayl yarandı + + +

    Əməliyyat müvəfəqiyyətlə başa çatdı

    +

    Fayl yarandı

    +
    +

    +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_PUT_ERROR squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_PUT_ERROR --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_PUT_ERROR Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_PUT_ERROR Fri Mar 10 15:48:01 2006 @@ -0,0 +1,27 @@ + + +SƏHV: FTP PUT/yükləmə uğursuzluqla başa çatdı + + +

    SƏHV

    +

    FTP PUT/yükləmə uğursuzluqla başa çatdı.

    +
    +

    +Faylı adresə yükləyərkən: +%U +

    +SQUID növbəti FTP əmri göndərmişdir: +

    
    +        %f
    +
    +və alınan cavab +
    
    +        %F
    +
    +

    +

    +Fayl yolunu, fayla olan icazələrinizi, boş yeri yoxlayın və bir daha təkrar edin.
    +
    +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_PUT_MODIFIED squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_PUT_MODIFIED --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_PUT_MODIFIED Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_PUT_MODIFIED Fri Mar 10 15:48:01 2006 @@ -0,0 +1,12 @@ + + +FTP PUT müvəfəqiyyətlə başa çatdı: Fayl yeniləndi + + +

    Əməliyyat müvəfəqiyyətlə başa çatdı.

    +

    Fayl yeniləndi.

    +
    +

    +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_UNAVAILABLE squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_UNAVAILABLE --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_FTP_UNAVAILABLE Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_FTP_UNAVAILABLE Fri Mar 10 15:48:01 2006 @@ -0,0 +1,26 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı FTP serverin həddən ziyadə yüklü olduğu məlum olub: +%U +

    +Keş FTP-nin növbəti əmrini göndərmişdir: +

    
    +	%f
    +
    +və alınan cavab +
    
    +	%F
    +
    +
    
    +	%g
    +
    +

    +Sizin keş administratorunuz %w + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_INVALID_REQ squid-2.5.STABLE13/errors/Azerbaijani/ERR_INVALID_REQ --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_INVALID_REQ Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_INVALID_REQ Fri Mar 10 15:48:01 2006 @@ -0,0 +1,34 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı.

    +
    +

    +Sorğu yerinə yetirilən zaman: +

    +%R
    +
    +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Səhv sorğu. + +
    + +

    +HTTP sorğunun bəzi aspektləri səhvdir. Mümkün problemlər: +

      +
    • (GET, POST) sorğusunun metodu məlum deyil və ya umumiyyətlə yoxdur. +
    • URL yoxdur +
    • HTTP identifikator yoxdur(HTTP/1.0) +
    • Sorğu həddən ziyadə böyükdür +
    • POST və PUT sorğuları üçün Content-Length göstərilməmişdir +
    • Server adında qadağan edilmiş simvol; altxətt yol verilməzdir +
    +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_INVALID_RESP squid-2.5.STABLE13/errors/Azerbaijani/ERR_INVALID_RESP --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_INVALID_RESP Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_INVALID_RESP Fri Mar 10 15:48:01 2006 @@ -0,0 +1,24 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı.

    +
    +

    +Sorğu yerinə yetirilən zaman: +

    +%R
    +
    +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Səhv cavab. + +
    + +

    +Sorğu göndərilən serverdən gələn cavab anlaşılmazdı və ya dəyişdirilib. Səhifə operatoru ilə əlaqə yaradın. Tələb olunduğu halda keş administratoru sizə daha geniş məlumat verə bilər. Sizin keş administratorunuz %w diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_INVALID_URL squid-2.5.STABLE13/errors/Azerbaijani/ERR_INVALID_URL --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_INVALID_URL Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_INVALID_URL Fri Mar 10 15:48:01 2006 @@ -0,0 +1,29 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı.

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Səhv URL: + +
    + +

    +URL-nin bəzi aspektləri səhvdir. Mümkün problemlər: +

      +
    • Giriş protokol yoxdur və ya səhvdir ("http://'' və ya oxşar olmalıdır) +
    • Server adı yoxdur +
    • Server adında qadağan edilmiş simvol; altxətt və s. yol verilməzdir. +
    +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_LIFETIME_EXP squid-2.5.STABLE13/errors/Azerbaijani/ERR_LIFETIME_EXP --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_LIFETIME_EXP Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_LIFETIME_EXP Fri Mar 10 15:48:01 2006 @@ -0,0 +1,24 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Qoşulma müddəti bitdi. + +
    + +

    +Keş maksimum qoşulma müddəti həddini keçmə səbəbindən əlaqəni kəsdi. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_NO_RELAY squid-2.5.STABLE13/errors/Azerbaijani/ERR_NO_RELAY --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_NO_RELAY Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_NO_RELAY Fri Mar 10 15:48:01 2006 @@ -0,0 +1,24 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Wais ötürücü təyin edilməmişdir. + +
    + +

    +Bu keş serveri üçün WAIS ötürücü təyin edilməyib. Administratora əlaqə saxlayın. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_ONLY_IF_CACHED_MISS squid-2.5.STABLE13/errors/Azerbaijani/ERR_ONLY_IF_CACHED_MISS --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_ONLY_IF_CACHED_MISS Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_ONLY_IF_CACHED_MISS Fri Mar 10 15:48:01 2006 @@ -0,0 +1,25 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Obyekt keşdə tapılmadı və only-if-cachedəmri təyin olunmuşdur. + +
    + +

    +Siz only-if-cached əmri ilə sorğu göndərmisiniz. +Obyekt keşdə tapılmadı, və ya only-if-cachedəmri ilə qadağan olunmuş obyektin yenilənməsi tələb olunur. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_READ_ERROR squid-2.5.STABLE13/errors/Azerbaijani/ERR_READ_ERROR --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_READ_ERROR Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_READ_ERROR Fri Mar 10 15:48:01 2006 @@ -0,0 +1,28 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Oxunma səhvi + +
    + +

    +Sistem cavab verir: +

        %E
    + +

    +Məlumatlar şəbəkədən oxunan zaman səhv baş vermişdir. Xahiş edirik, sorğunuzu təkrar edin. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_READ_TIMEOUT squid-2.5.STABLE13/errors/Azerbaijani/ERR_READ_TIMEOUT --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_READ_TIMEOUT Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_READ_TIMEOUT Fri Mar 10 15:48:01 2006 @@ -0,0 +1,28 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Gözləmə müddəti bitmişdir. + +
    + +

    +Sistemin cavabı: +

        %E
    + +

    +Məlumatlar şəbəkədən oxunan zaman gözləmə müddəti bitmişdir. Şəbəkə və ya server işləmir, yaxud həddən ziyadə yüklənmişdir. Xahiş edirik, sorğunu təkrar edin. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_SHUTTING_DOWN squid-2.5.STABLE13/errors/Azerbaijani/ERR_SHUTTING_DOWN --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_SHUTTING_DOWN Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_SHUTTING_DOWN Fri Mar 10 15:48:01 2006 @@ -0,0 +1,20 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • +

      +Keş hal-hazırda işini dayandırır və bu səbəbdən sizin sorğunuzu cavablandıra bilməyəcək. Xahiş edirik, sorğunuzu tezliklə bir daha təkrarlayın.

    +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_SOCKET_FAILURE squid-2.5.STABLE13/errors/Azerbaijani/ERR_SOCKET_FAILURE --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_SOCKET_FAILURE Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_SOCKET_FAILURE Fri Mar 10 15:48:01 2006 @@ -0,0 +1,29 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +əlaqə xətası. + +
    + +

    +: +

        %E
    + +

    +SQUID əlaqə yarada bilmir, mümkün səbəblərdən biri, server həddindən ziyadə yüklənmiş olmasıdır. +Xahiş edirik,sorğunu təkrar edin. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_TOO_BIG squid-2.5.STABLE13/errors/Azerbaijani/ERR_TOO_BIG --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_TOO_BIG Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_TOO_BIG Fri Mar 10 15:48:01 2006 @@ -0,0 +1,23 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: + + +

    +Sorğu və ya cavab həddən ziyadə böyükdür.
    +Əgər siz POST və ya PUT sorğusunu edirsinizsə, sizin göndərmək istədiniz fayl həddən ziyadə böyükdür. Əgər siz GET sorğusunu edirsinizsə, sizin yükləmək istədiyiniz fayl həddən ziyadə böyükdür. Bu limitlər sizin keşi idarə edən Internet xidməti provayderi tərəfindən təyin olunmuşdur. Əgər bunun səhv olduğunu düşünürsünüzsə onlarla əlaqə saxlayın. +

    + +
    +Sizin keş administratorunuz %w + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_UNSUP_REQ squid-2.5.STABLE13/errors/Azerbaijani/ERR_UNSUP_REQ --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_UNSUP_REQ Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_UNSUP_REQ Fri Mar 10 15:48:01 2006 @@ -0,0 +1,26 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Dəstəklənməyən sorğu metodu və protokol. + +
    + +

    +SQUID bütün sorğu metodları və bütün protokollardəstəkləmir. +Məsələn,Gopher protokolu üzrə siz POST sorğu metodunu yerinə yetirə bilməzsiniz. +

    + + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_URN_RESOLVE squid-2.5.STABLE13/errors/Azerbaijani/ERR_URN_RESOLVE --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_URN_RESOLVE Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_URN_RESOLVE Fri Mar 10 15:48:01 2006 @@ -0,0 +1,26 @@ + + +SƏHV: Sorğulanan URN ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URN üçün URL ilə əlaqə yaradılmadı

    +
    +

    +URN ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +URN tapılmadı +
      +(Cannot Resolve URN) +
      +
    + +

    +%T texnologiyasından çox şey gözləməyə dəyməz :) +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_WRITE_ERROR squid-2.5.STABLE13/errors/Azerbaijani/ERR_WRITE_ERROR --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_WRITE_ERROR Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_WRITE_ERROR Fri Mar 10 15:48:01 2006 @@ -0,0 +1,28 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Yazma səhvi + +
    + +

    +Sistemin cavabı: +

        %E
    + +

    +İnformasiya şəbəkəyə ötürülərkən xəta olmuşdur.Xahiş edirik, sorğunu təkrar edin. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/ERR_ZERO_SIZE_OBJECT squid-2.5.STABLE13/errors/Azerbaijani/ERR_ZERO_SIZE_OBJECT --- squid-2.5.STABLE12/errors/Azerbaijani/ERR_ZERO_SIZE_OBJECT Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/ERR_ZERO_SIZE_OBJECT Fri Mar 10 15:48:01 2006 @@ -0,0 +1,24 @@ + + +SƏHV: Sorğulanan URL ilə əlaqə yaradılmadı + + +

    SƏHV

    +

    Sorğulanan URL ilə əlaqə yaradılmadı

    +
    +

    +URL ilə əlaqə zamanı: +%U +

    +Aşağıdakı səhv baş vermişdir: +

      +
    • + +Sıfır uzunluqlu cavab + +
    + +

    +SQUID bu sorğu üçün heç bir məlumat almadı. +

    + diff -ruN squid-2.5.STABLE12/errors/Azerbaijani/README squid-2.5.STABLE13/errors/Azerbaijani/README --- squid-2.5.STABLE12/errors/Azerbaijani/README Wed Dec 31 17:00:00 1969 +++ squid-2.5.STABLE13/errors/Azerbaijani/README Fri Mar 10 15:48:01 2006 @@ -0,0 +1,2 @@ +Thank you to Rauf Kuliyev for +creating these error pages in Azerbaijani! diff -ruN squid-2.5.STABLE12/errors/English/ERR_CONNECT_FAIL squid-2.5.STABLE13/errors/English/ERR_CONNECT_FAIL --- squid-2.5.STABLE12/errors/English/ERR_CONNECT_FAIL Wed Aug 28 15:07:58 2002 +++ squid-2.5.STABLE13/errors/English/ERR_CONNECT_FAIL Fri Mar 10 15:54:38 2006 @@ -14,7 +14,7 @@
    • -Connection Failed +Connection to %I Failed
    diff -ruN squid-2.5.STABLE12/errors/Makefile.am squid-2.5.STABLE13/errors/Makefile.am --- squid-2.5.STABLE12/errors/Makefile.am Thu Sep 1 16:37:29 2005 +++ squid-2.5.STABLE13/errors/Makefile.am Fri Mar 10 15:51:47 2006 @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in # -# $Id: Makefile.am,v 1.5.2.8 2005/09/01 22:37:29 hno Exp $ +# $Id: Makefile.am,v 1.5.2.9 2006/03/10 22:51:47 hno Exp $ # errordir = $(datadir)/errors @@ -12,6 +12,7 @@ INSTALL_LANGUAGES = @ERR_LANGUAGES@ LANGUAGES = \ + Azerbaijani \ Bulgarian \ Catalan \ Czech \ diff -ruN squid-2.5.STABLE12/errors/Makefile.in squid-2.5.STABLE13/errors/Makefile.in --- squid-2.5.STABLE12/errors/Makefile.in Wed Sep 28 14:57:16 2005 +++ squid-2.5.STABLE13/errors/Makefile.in Fri Mar 10 15:51:47 2006 @@ -14,7 +14,7 @@ @SET_MAKE@ # -# $Id: Makefile.in,v 1.15.2.19 2005/09/28 20:57:16 hno Exp $ +# $Id: Makefile.in,v 1.15.2.20 2006/03/10 22:51:47 hno Exp $ # SHELL = @SHELL@ @@ -127,6 +127,7 @@ INSTALL_LANGUAGES = @ERR_LANGUAGES@ LANGUAGES = \ + Azerbaijani \ Bulgarian \ Catalan \ Czech \ diff -ruN squid-2.5.STABLE12/helpers/basic_auth/LDAP/squid_ldap_auth.c squid-2.5.STABLE13/helpers/basic_auth/LDAP/squid_ldap_auth.c --- squid-2.5.STABLE12/helpers/basic_auth/LDAP/squid_ldap_auth.c Wed Sep 28 12:33:42 2005 +++ squid-2.5.STABLE13/helpers/basic_auth/LDAP/squid_ldap_auth.c Sat Feb 25 16:07:49 2006 @@ -82,6 +82,8 @@ * - Allow full filter specifications in -f */ +#define LDAP_DEPRECATED 1 + #include #include #include diff -ruN squid-2.5.STABLE12/helpers/external_acl/ldap_group/squid_ldap_group.c squid-2.5.STABLE13/helpers/external_acl/ldap_group/squid_ldap_group.c --- squid-2.5.STABLE12/helpers/external_acl/ldap_group/squid_ldap_group.c Sat Sep 10 18:53:23 2005 +++ squid-2.5.STABLE13/helpers/external_acl/ldap_group/squid_ldap_group.c Sat Feb 25 16:07:49 2006 @@ -33,6 +33,8 @@ * or (at your option) any later version. */ +#define LDAP_DEPRECATED 1 + #include #include #include diff -ruN squid-2.5.STABLE12/helpers/external_acl/wbinfo_group/wbinfo_group.pl squid-2.5.STABLE13/helpers/external_acl/wbinfo_group/wbinfo_group.pl --- squid-2.5.STABLE12/helpers/external_acl/wbinfo_group/wbinfo_group.pl Wed Jun 29 14:34:14 2005 +++ squid-2.5.STABLE13/helpers/external_acl/wbinfo_group/wbinfo_group.pl Sat Dec 24 03:51:42 2005 @@ -12,11 +12,14 @@ # Jerry Murdock # # Version history: -# 2002-07-05 Jerry Murdock -# Initial release +# 2005-12-24 Guido Serassio +# Fix for wbinfo from Samba 3.0.21 # # 2005-06-28 Arno Streuli # Add multi group check +# +# 2002-07-05 Jerry Murdock +# Initial release # external_acl uses shell style lines in it's protocol @@ -35,7 +38,7 @@ # sub check { local($user, $group) = @_; - $groupSID = `wbinfo -n "$group"`; + $groupSID = `wbinfo -n "$group" | cut -d" " -f1`; chop $groupSID; $groupGID = `wbinfo -Y "$groupSID"`; chop $groupGID; diff -ruN squid-2.5.STABLE12/helpers/ntlm_auth/SMB/libntlmssp.c squid-2.5.STABLE13/helpers/ntlm_auth/SMB/libntlmssp.c --- squid-2.5.STABLE12/helpers/ntlm_auth/SMB/libntlmssp.c Sun Feb 20 12:07:44 2005 +++ squid-2.5.STABLE13/helpers/ntlm_auth/SMB/libntlmssp.c Sun Dec 11 03:23:02 2005 @@ -178,14 +178,17 @@ char *p = credentials; lstring tmp; tmp = ntlm_fetch_string((char *) auth, auth_length, &auth->domain); + *p = '\0'; if (tmp.str == NULL) return NULL; memcpy(p, tmp.str, tmp.l); p += tmp.l; *p++ = '\\'; + *p = '\0'; tmp = ntlm_fetch_string((char *) auth, auth_length, &auth->user); if (tmp.str == NULL) return NULL; + memcpy(p, tmp.str, tmp.l); *(p + tmp.l) = '\0'; return credentials; } diff -ruN squid-2.5.STABLE12/include/rfc1035.h squid-2.5.STABLE13/include/rfc1035.h --- squid-2.5.STABLE12/include/rfc1035.h Wed Sep 28 15:47:58 2005 +++ squid-2.5.STABLE13/include/rfc1035.h Fri Mar 10 15:43:37 2006 @@ -1,5 +1,5 @@ /* - * $Id: rfc1035.h,v 1.6.2.3 2005/09/28 21:47:58 hno Exp $ + * $Id: rfc1035.h,v 1.6.2.4 2006/03/10 22:43:37 hno Exp $ * * AUTHOR: Duane Wessels * @@ -46,7 +46,7 @@ #endif /* rfc1035 - DNS */ -#define RFC1035_MAXHOSTNAMESZ 250 +#define RFC1035_MAXHOSTNAMESZ 256 typedef struct _rfc1035_rr rfc1035_rr; struct _rfc1035_rr { char name[RFC1035_MAXHOSTNAMESZ]; diff -ruN squid-2.5.STABLE12/include/samba/README.txt squid-2.5.STABLE13/include/samba/README.txt --- squid-2.5.STABLE12/include/samba/README.txt Tue Feb 11 07:35:14 2003 +++ squid-2.5.STABLE13/include/samba/README.txt Sun Feb 26 02:42:06 2006 @@ -3,5 +3,5 @@ If you compile the winbind helpers with other versions of Samba you may need to copy the relevant headers from the Samba version you are using -here, or use the --with-samba-source=... configure option to tell Squid +here, or use the --with-samba-sources=... configure option to tell Squid where the Samba sources can be found. diff -ruN squid-2.5.STABLE12/include/version.h squid-2.5.STABLE13/include/version.h --- squid-2.5.STABLE12/include/version.h Sat Oct 22 03:56:01 2005 +++ squid-2.5.STABLE13/include/version.h Sun Mar 12 04:29:22 2006 @@ -9,5 +9,5 @@ */ #ifndef SQUID_RELEASE_TIME -#define SQUID_RELEASE_TIME 1129974957 +#define SQUID_RELEASE_TIME 1142162957 #endif diff -ruN squid-2.5.STABLE12/lib/rfc1123.c squid-2.5.STABLE13/lib/rfc1123.c --- squid-2.5.STABLE12/lib/rfc1123.c Sun Jul 3 02:18:38 2005 +++ squid-2.5.STABLE13/lib/rfc1123.c Sun Jan 22 10:18:23 2006 @@ -1,6 +1,6 @@ /* - * $Id: rfc1123.c,v 1.29.2.3 2005/07/03 08:18:38 serassio Exp $ + * $Id: rfc1123.c,v 1.29.2.4 2006/01/22 17:18:23 serassio Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -229,6 +229,7 @@ #elif defined (_timezone) #elif defined(_SQUID_AIX_) #elif defined(_SQUID_CYGWIN_) +#elif defined(_SQUID_SGI_) #else extern long timezone; #endif diff -ruN squid-2.5.STABLE12/src/HttpHdrRange.c squid-2.5.STABLE13/src/HttpHdrRange.c --- squid-2.5.STABLE12/src/HttpHdrRange.c Fri Mar 25 19:50:50 2005 +++ squid-2.5.STABLE13/src/HttpHdrRange.c Sat Feb 25 15:28:14 2006 @@ -1,6 +1,6 @@ /* - * $Id: HttpHdrRange.c,v 1.26.2.1 2005/03/26 02:50:50 hno Exp $ + * $Id: HttpHdrRange.c,v 1.26.2.2 2006/02/25 22:28:14 hno Exp $ * * DEBUG: section 64 HTTP Range Header * AUTHOR: Alex Rousskov @@ -62,7 +62,7 @@ #define size_min(a,b) ((a) <= (b) ? (a) : (b)) #define size_diff(a,b) ((a) >= (b) ? ((a)-(b)) : 0) static HttpHdrRangeSpec *httpHdrRangeSpecDup(const HttpHdrRangeSpec * spec); -static int httpHdrRangeSpecCanonize(HttpHdrRangeSpec * spec, size_t clen); +static int httpHdrRangeSpecCanonize(HttpHdrRangeSpec * spec, squid_off_t clen); static void httpHdrRangeSpecPackInto(const HttpHdrRangeSpec * spec, Packer * p); /* globals */ @@ -149,7 +149,7 @@ * range is valid if its intersection with [0,length-1] is not empty */ static int -httpHdrRangeSpecCanonize(HttpHdrRangeSpec * spec, size_t clen) +httpHdrRangeSpecCanonize(HttpHdrRangeSpec * spec, squid_off_t clen) { debug(64, 5) ("httpHdrRangeSpecCanonize: have: [%" PRINTF_OFF_T ", %" PRINTF_OFF_T ") len: %" PRINTF_OFF_T "\n", spec->offset, spec->offset + spec->length, spec->length); @@ -175,8 +175,8 @@ int merged = 0; #if MERGING_BREAKS_NOTHING /* Note: this code works, but some clients may not like its effects */ - size_t rhs = recep->offset + recep->length; /* no -1 ! */ - const size_t donor_rhs = donor->offset + donor->length; /* no -1 ! */ + squid_off_t rhs = recep->offset + recep->length; /* no -1 ! */ + const squid_off_t donor_rhs = donor->offset + donor->length; /* no -1 ! */ assert(known_spec(recep->offset)); assert(known_spec(donor->offset)); assert(recep->length > 0); @@ -312,7 +312,7 @@ assert(range); assert(clen >= 0); stackInit(&goods); - debug(64, 3) ("httpHdrRangeCanonize: started with %d specs, clen: %ld\n", range->specs.count, (long int) clen); + debug(64, 3) ("httpHdrRangeCanonize: started with %d specs, clen: %" PRINTF_OFF_T "\n", range->specs.count, clen); /* canonize each entry and destroy bad ones if any */ while ((spec = httpHdrRangeGetSpec(range, &pos))) { @@ -375,7 +375,7 @@ { HttpHdrRangePos pos = HttpHdrRangeInitPos; const HttpHdrRangeSpec *spec; - size_t offset = 0; + squid_off_t offset = 0; assert(range); /* check that all rangers are in "strong" order */ while ((spec = httpHdrRangeGetSpec(range, &pos))) { @@ -395,7 +395,7 @@ { HttpHdrRangePos pos = HttpHdrRangeInitPos; const HttpHdrRangeSpec *spec; - size_t offset = 0; + squid_off_t offset = 0; assert(range); /* check that all rangers are in "strong" order, */ /* as far as we can tell without the content length */ diff -ruN squid-2.5.STABLE12/src/HttpHeader.c squid-2.5.STABLE13/src/HttpHeader.c --- squid-2.5.STABLE12/src/HttpHeader.c Thu Jun 9 01:51:46 2005 +++ squid-2.5.STABLE13/src/HttpHeader.c Sat Feb 25 16:07:49 2006 @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.c,v 1.74.2.30 2005/06/09 07:51:46 hno Exp $ + * $Id: HttpHeader.c,v 1.74.2.31 2006/02/25 23:07:49 hno Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -257,15 +257,15 @@ Headers = httpHeaderBuildFieldsInfo(HeadersAttrs, HDR_ENUM_END); /* create masks */ httpHeaderMaskInit(&ListHeadersMask, 0); - httpHeaderCalcMask(&ListHeadersMask, (const int *) ListHeadersArr, countof(ListHeadersArr)); + httpHeaderCalcMask(&ListHeadersMask, ListHeadersArr, countof(ListHeadersArr)); httpHeaderMaskInit(&ReplyHeadersMask, 0); - httpHeaderCalcMask(&ReplyHeadersMask, (const int *) ReplyHeadersArr, countof(ReplyHeadersArr)); - httpHeaderCalcMask(&ReplyHeadersMask, (const int *) GeneralHeadersArr, countof(GeneralHeadersArr)); - httpHeaderCalcMask(&ReplyHeadersMask, (const int *) EntityHeadersArr, countof(EntityHeadersArr)); + httpHeaderCalcMask(&ReplyHeadersMask, ReplyHeadersArr, countof(ReplyHeadersArr)); + httpHeaderCalcMask(&ReplyHeadersMask, GeneralHeadersArr, countof(GeneralHeadersArr)); + httpHeaderCalcMask(&ReplyHeadersMask, EntityHeadersArr, countof(EntityHeadersArr)); httpHeaderMaskInit(&RequestHeadersMask, 0); - httpHeaderCalcMask(&RequestHeadersMask, (const int *) RequestHeadersArr, countof(RequestHeadersArr)); - httpHeaderCalcMask(&RequestHeadersMask, (const int *) GeneralHeadersArr, countof(GeneralHeadersArr)); - httpHeaderCalcMask(&RequestHeadersMask, (const int *) EntityHeadersArr, countof(EntityHeadersArr)); + httpHeaderCalcMask(&RequestHeadersMask, RequestHeadersArr, countof(RequestHeadersArr)); + httpHeaderCalcMask(&RequestHeadersMask, GeneralHeadersArr, countof(GeneralHeadersArr)); + httpHeaderCalcMask(&RequestHeadersMask, EntityHeadersArr, countof(EntityHeadersArr)); /* init header stats */ assert(HttpHeaderStatCount == hoReply + 1); for (i = 0; i < HttpHeaderStatCount; i++) diff -ruN squid-2.5.STABLE12/src/HttpHeaderTools.c squid-2.5.STABLE13/src/HttpHeaderTools.c --- squid-2.5.STABLE12/src/HttpHeaderTools.c Wed May 18 09:28:32 2005 +++ squid-2.5.STABLE13/src/HttpHeaderTools.c Sat Feb 25 16:07:49 2006 @@ -1,6 +1,6 @@ /* - * $Id: HttpHeaderTools.c,v 1.32.2.5 2005/05/18 15:28:32 hno Exp $ + * $Id: HttpHeaderTools.c,v 1.32.2.6 2006/02/25 23:07:49 hno Exp $ * * DEBUG: section 66 HTTP Header Tools * AUTHOR: Alex Rousskov @@ -86,7 +86,7 @@ /* calculates a bit mask of a given array; does not reset mask! */ void -httpHeaderCalcMask(HttpHeaderMask * mask, const int *enums, int count) +httpHeaderCalcMask(HttpHeaderMask * mask, const http_hdr_type * enums, int count) { int i; assert(mask && enums); diff -ruN squid-2.5.STABLE12/src/HttpReply.c squid-2.5.STABLE13/src/HttpReply.c --- squid-2.5.STABLE12/src/HttpReply.c Fri Mar 25 19:50:51 2005 +++ squid-2.5.STABLE13/src/HttpReply.c Sat Feb 25 16:07:50 2006 @@ -1,6 +1,6 @@ /* - * $Id: HttpReply.c,v 1.49.2.5 2005/03/26 02:50:51 hno Exp $ + * $Id: HttpReply.c,v 1.49.2.6 2006/02/25 23:07:50 hno Exp $ * * DEBUG: section 58 HTTP Reply (Response) * AUTHOR: Alex Rousskov @@ -64,7 +64,7 @@ httpReplyInitModule(void) { httpHeaderMaskInit(&Denied304HeadersMask, 0); - httpHeaderCalcMask(&Denied304HeadersMask, (const int *) Denied304HeadersArr, countof(Denied304HeadersArr)); + httpHeaderCalcMask(&Denied304HeadersMask, Denied304HeadersArr, countof(Denied304HeadersArr)); } diff -ruN squid-2.5.STABLE12/src/HttpRequest.c squid-2.5.STABLE13/src/HttpRequest.c --- squid-2.5.STABLE12/src/HttpRequest.c Thu Sep 15 03:53:28 2005 +++ squid-2.5.STABLE13/src/HttpRequest.c Fri Mar 10 15:58:35 2006 @@ -1,6 +1,6 @@ /* - * $Id: HttpRequest.c,v 1.30.2.3 2005/09/15 09:53:28 hno Exp $ + * $Id: HttpRequest.c,v 1.30.2.4 2006/03/10 22:58:35 hno Exp $ * * DEBUG: section 73 HTTP Request * AUTHOR: Duane Wessels @@ -206,13 +206,13 @@ if (!request) return; if (request->body_reader) { - if (cbdataValid(request->body_reader_data)) { - request->body_reader(request, NULL, -1, NULL, NULL); - } else { - debug(73, 2) ("requestAbortBody: Aborted\n"); - request->body_reader = NULL; - cbdataUnlock(request->body_reader_data); - request->body_reader_data = NULL; - } + void *cbdata = request->body_reader_data; + BODY_HANDLER *handler = request->body_reader; + debug(73, 2) ("requestAbortBody: Aborted\n"); + request->body_reader = NULL; + request->body_reader_data = NULL; + if (cbdataValid(cbdata)) + handler(request, NULL, -1, NULL, cbdata); + cbdataUnlock(cbdata); } } diff -ruN squid-2.5.STABLE12/src/acl.c squid-2.5.STABLE13/src/acl.c --- squid-2.5.STABLE12/src/acl.c Fri Sep 16 15:53:57 2005 +++ squid-2.5.STABLE13/src/acl.c Fri Mar 10 15:37:00 2006 @@ -1,6 +1,6 @@ /* - * $Id: acl.c,v 1.270.2.39 2005/09/16 21:53:57 hno Exp $ + * $Id: acl.c,v 1.270.2.45 2006/03/10 22:37:00 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -724,16 +724,16 @@ splayNode *Top = NULL; debug(28, 2) ("aclParseUserList: parsing user list\n"); + if (*current == NULL) { + debug(28, 3) ("aclParseUserList: current is null. Creating\n"); + *current = memAllocate(MEM_ACL_USER_DATA); + } t = strtokFile(); if (!t) { debug(28, 2) ("aclParseUserList: No data defined\n"); return; } debug(28, 5) ("aclParseUserList: First token is %s\n", t); - if (*current == NULL) { - debug(28, 3) ("aclParseUserList: current is null. Creating\n"); - *current = memAllocate(MEM_ACL_USER_DATA); - } data = *current; Top = data->names; if (strcmp("-i", t) == 0) { @@ -1384,6 +1384,8 @@ if (authenticateAuthUserRequestIPCount(auth_user_request) <= acldata->max) return 0; + debug(28, 1) ("aclMatchUserMaxIP: user '%s' tries to use too many IP addresses (max %d allowed)!\n", authenticateUserRequestUsername(auth_user_request), acldata->max); + /* this is a match */ if (acldata->flags.strict) { /* @@ -1715,6 +1717,8 @@ case ACL_IDENT: if (checklist->rfc931[0]) { return aclMatchUser(ae->data, checklist->rfc931); + } else if (checklist->conn && checklist->conn->rfc931[0]) { + return aclMatchUser(ae->data, checklist->conn->rfc931); } else { checklist->state[ACL_IDENT] = ACL_LOOKUP_NEEDED; return 0; @@ -1723,6 +1727,8 @@ case ACL_IDENT_REGEX: if (checklist->rfc931[0]) { return aclMatchRegex(ae->data, checklist->rfc931); + } else if (checklist->conn && checklist->conn->rfc931[0]) { + return aclMatchRegex(ae->data, checklist->conn->rfc931); } else { checklist->state[ACL_IDENT] = ACL_LOOKUP_NEEDED; return 0; @@ -2256,7 +2262,7 @@ break; #if SQUID_SNMP case ACL_SNMP_COMMUNITY: - wordlistDestroy((wordlist **) & a->data); + wordlistDestroy((wordlist **) (void *) &a->data); break; #endif #if USE_IDENT @@ -2297,7 +2303,7 @@ case ACL_NETDB_SRC_RTT: #endif case ACL_MAXCONN: - intlistDestroy((intlist **) & a->data); + intlistDestroy((intlist **) (void *) &a->data); break; case ACL_MAX_USER_IP: aclDestroyUserMaxIP(&a->data); diff -ruN squid-2.5.STABLE12/src/auth/ntlm/auth_ntlm.c squid-2.5.STABLE13/src/auth/ntlm/auth_ntlm.c --- squid-2.5.STABLE12/src/auth/ntlm/auth_ntlm.c Tue Sep 20 06:28:18 2005 +++ squid-2.5.STABLE13/src/auth/ntlm/auth_ntlm.c Sat Feb 25 15:52:37 2006 @@ -1,6 +1,6 @@ /* - * $Id: auth_ntlm.c,v 1.17.2.25 2005/09/20 12:28:18 hno Exp $ + * $Id: auth_ntlm.c,v 1.17.2.26 2006/02/25 22:52:37 hno Exp $ * * DEBUG: section 29 NTLM Authenticator * AUTHOR: Robert Collins @@ -332,8 +332,6 @@ authenticateNTLMFixErrorHeader(auth_user_request_t * auth_user_request, HttpReply * rep, http_hdr_type type, request_t * request) { ntlm_request_t *ntlm_request; - if (!request->flags.proxy_keepalive) - return; if (ntlmConfig->authenticate) { /* New request, no user details */ if (auth_user_request == NULL) { diff -ruN squid-2.5.STABLE12/src/cache_cf.c squid-2.5.STABLE13/src/cache_cf.c --- squid-2.5.STABLE12/src/cache_cf.c Wed Sep 28 15:42:33 2005 +++ squid-2.5.STABLE13/src/cache_cf.c Wed Oct 26 14:25:42 2005 @@ -1,6 +1,6 @@ /* - * $Id: cache_cf.c,v 1.396.2.31 2005/09/28 21:42:33 hno Exp $ + * $Id: cache_cf.c,v 1.396.2.32 2005/10/26 20:25:42 hno Exp $ * * DEBUG: section 3 Configuration File Parsing * AUTHOR: Harvest Derived @@ -440,8 +440,14 @@ Config.effectiveUser); Config2.effectiveUserID = pwd->pw_uid; Config2.effectiveGroupID = pwd->pw_gid; - if (pwd->pw_dir && *pwd->pw_dir) - setenv("HOME", pwd->pw_dir, 1); +#if HAVE_PUTENV + if (pwd->pw_dir && *pwd->pw_dir) { + int len; + char *env_str = xcalloc((len = strlen(pwd->pw_dir) + 6), 1); + snprintf(env_str, len, "HOME=%s", pwd->pw_dir); + putenv(env_str); + } +#endif } } else { Config2.effectiveUserID = geteuid(); diff -ruN squid-2.5.STABLE12/src/cf.data.pre squid-2.5.STABLE13/src/cf.data.pre --- squid-2.5.STABLE12/src/cf.data.pre Thu Oct 20 11:28:08 2005 +++ squid-2.5.STABLE13/src/cf.data.pre Sat Feb 25 16:01:45 2006 @@ -1,6 +1,6 @@ # -# $Id: cf.data.pre,v 1.245.2.102 2005/10/20 17:28:08 hno Exp $ +# $Id: cf.data.pre,v 1.245.2.104 2006/02/25 23:01:45 hno Exp $ # # # SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -3224,6 +3224,8 @@ header_access Allow allow all header_access Authorization allow all header_access WWW-Authenticate allow all + header_access Proxy-Authorization allow all + header_access Proxy-Authenticate allow all header_access Cache-Control allow all header_access Content-Encoding allow all header_access Content-Length allow all @@ -3956,6 +3958,16 @@ default, Squid uses persistent connections (when allowed) with its clients and servers. You can use these options to disable persistent connections with clients and/or servers. +DOC_END + +NAME: persistent_connection_after_error +TYPE: onoff +LOC: Config.onoff.error_pconns +DEFAULT: off +DOC_START + With this directive the use of persistent connections after + HTTP errors can be disabled. Useful if you have clients + who fail to handle errors on persistent connections proper. DOC_END NAME: detect_broken_pconn diff -ruN squid-2.5.STABLE12/src/client_side.c squid-2.5.STABLE13/src/client_side.c --- squid-2.5.STABLE12/src/client_side.c Tue Oct 18 09:22:26 2005 +++ squid-2.5.STABLE13/src/client_side.c Fri Mar 10 15:58:35 2006 @@ -1,6 +1,6 @@ /* - * $Id: client_side.c,v 1.561.2.89 2005/10/18 15:22:26 hno Exp $ + * $Id: client_side.c,v 1.561.2.96 2006/03/10 22:58:35 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -859,7 +859,10 @@ http->al.icp.opcode = ICP_INVALID; http->al.url = http->log_uri; debug(33, 9) ("httpRequestFree: al.url='%s'\n", http->al.url); - if (mem) { + if (http->reply && http->log_type != LOG_TCP_DENIED) { + http->al.http.code = http->reply->sline.status; + http->al.http.content_type = strBuf(http->reply->content_type); + } else if (mem) { http->al.http.code = mem->reply->sline.status; http->al.http.content_type = strBuf(mem->reply->content_type); } @@ -918,6 +921,8 @@ storeUnlockObject(e); } requestUnlink(http->request); + if (http->reply) + httpReplyDestroy(http->reply); assert(http != http->next); assert(http->conn->chr != NULL); /* Unlink us from the clients request list */ @@ -1316,8 +1321,6 @@ debug(33, 3) ("clientBuildRangeHeader: range spec count: %d virgin clen: %" PRINTF_OFF_T "\n", spec_count, rep->content_length); assert(spec_count > 0); - /* ETags should not be returned with Partial Content replies? */ - httpHeaderDelById(hdr, HDR_ETAG); /* append appropriate header(s) */ if (spec_count == 1) { HttpHdrRangePos pos = HttpHdrRangeInitPos; @@ -1464,6 +1467,10 @@ debug(33, 3) ("clientBuildReplyHeader: Not many unused FDs, can't keep-alive\n"); request->flags.proxy_keepalive = 0; } + if (!Config.onoff.error_pconns && rep->sline.status >= 400 && !request->flags.must_keepalive) { + debug(33, 3) ("clientBuildReplyHeader: Error, don't keep-alive\n"); + request->flags.proxy_keepalive = 0; + } if (!Config.onoff.client_pconns && !request->flags.must_keepalive) request->flags.proxy_keepalive = 0; /* Signal keep-alive if needed */ @@ -2001,7 +2008,7 @@ return; } if (http->out.offset == 0) { - rep = clientBuildReply(http, buf, size); + rep = http->reply = clientBuildReply(http, buf, size); if (rep) { aclCheck_t *ch; int rv; @@ -2024,7 +2031,8 @@ http->entry = clientCreateStoreEntry(http, http->request->method, null_request_flags); errorAppendEntry(http->entry, err); - httpReplyDestroy(rep); + httpReplyDestroy(http->reply); + http->reply = NULL; memFree(buf, MEM_CLIENT_SOCK_BUF); return; } @@ -2059,7 +2067,8 @@ http->entry = clientCreateStoreEntry(http, http->request->method, null_request_flags); errorAppendEntry(http->entry, err); - httpReplyDestroy(rep); + httpReplyDestroy(http->reply); + http->reply = NULL; memFree(buf, MEM_CLIENT_SOCK_BUF); return; } @@ -2107,7 +2116,6 @@ #if HEADERS_LOG headersLog(0, 0, http->request->method, rep); #endif - httpReplyDestroy(rep); rep = NULL; } else { memBufDefInit(&mb); @@ -3398,7 +3406,7 @@ CBCB *callback; void *cbdata; int valid; - if (!cbdataValid(conn)) + if (!conn || !cbdataValid(conn)) return; if (!conn->body.callback || conn->body.request != request) return; diff -ruN squid-2.5.STABLE12/src/delay_pools.c squid-2.5.STABLE13/src/delay_pools.c --- squid-2.5.STABLE12/src/delay_pools.c Thu Oct 20 11:30:31 2005 +++ squid-2.5.STABLE13/src/delay_pools.c Sat Feb 25 15:56:52 2006 @@ -1,6 +1,6 @@ /* - * $Id: delay_pools.c,v 1.19.2.11 2005/10/20 17:30:31 hno Exp $ + * $Id: delay_pools.c,v 1.19.2.12 2006/02/25 22:56:52 hno Exp $ * * DEBUG: section 77 Delay Pools * AUTHOR: David Luyer @@ -162,10 +162,11 @@ void delayFreeDelayData(unsigned short pools) { - safe_free(delay_data); - memory_used -= pools * sizeof(*delay_data); if (!delay_id_ptr_hash) return; + eventDelete(delayPoolsUpdate, NULL); + safe_free(delay_data); + memory_used -= pools * sizeof(*delay_data); hashFreeItems(delay_id_ptr_hash, delayIdZero); hashFreeMemory(delay_id_ptr_hash); delay_id_ptr_hash = NULL; diff -ruN squid-2.5.STABLE12/src/enums.h squid-2.5.STABLE13/src/enums.h --- squid-2.5.STABLE12/src/enums.h Tue Sep 20 05:52:25 2005 +++ squid-2.5.STABLE13/src/enums.h Fri Nov 11 10:45:03 2005 @@ -1,6 +1,6 @@ /* - * $Id: enums.h,v 1.203.2.17 2005/09/20 11:52:25 serassio Exp $ + * $Id: enums.h,v 1.203.2.18 2005/11/11 17:45:03 wessels Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -398,6 +398,7 @@ METHOD_SUBSCRIBE, METHOD_UNSUBSCRIBE, METHOD_POLL, + METHOD_REPORT, METHOD_EXT00, METHOD_EXT01, METHOD_EXT02, diff -ruN squid-2.5.STABLE12/src/errorpage.c squid-2.5.STABLE13/src/errorpage.c --- squid-2.5.STABLE12/src/errorpage.c Wed Apr 20 15:33:48 2005 +++ squid-2.5.STABLE13/src/errorpage.c Fri Mar 10 15:54:38 2006 @@ -1,6 +1,6 @@ /* - * $Id: errorpage.c,v 1.167.2.13 2005/04/20 21:33:48 hno Exp $ + * $Id: errorpage.c,v 1.167.2.14 2006/03/10 22:54:38 hno Exp $ * * DEBUG: section 4 Error Generation * AUTHOR: Duane Wessels @@ -397,7 +397,6 @@ requestUnlink(err->request); safe_free(err->redirect_url); safe_free(err->url); - safe_free(err->host); safe_free(err->dnsserver_msg); safe_free(err->request_hdrs); wordlistDestroy(&err->ftp.server_msg); @@ -493,14 +492,20 @@ memBufPrintf(&mb, "%s", getMyHostname()); break; case 'H': - p = r ? r->host : "[unknown host]"; + if (r) { + if (r->hier.host) + p = r->hier.host; + else + p = r->host; + } else + p = "[unknown host]"; break; case 'i': memBufPrintf(&mb, "%s", inet_ntoa(err->src_addr)); break; case 'I': - if (err->host) { - memBufPrintf(&mb, "%s", err->host); + if (r && r->hier.host) { + memBufPrintf(&mb, "%s", r->hier.host); } else p = "[unknown]"; break; diff -ruN squid-2.5.STABLE12/src/forward.c squid-2.5.STABLE13/src/forward.c --- squid-2.5.STABLE12/src/forward.c Thu Sep 1 16:14:45 2005 +++ squid-2.5.STABLE13/src/forward.c Fri Mar 10 15:54:38 2006 @@ -1,6 +1,6 @@ /* - * $Id: forward.c,v 1.82.2.16 2005/09/01 22:14:45 hno Exp $ + * $Id: forward.c,v 1.82.2.17 2006/03/10 22:54:38 hno Exp $ * * DEBUG: section 17 Request Forwarding * AUTHOR: Duane Wessels @@ -224,6 +224,8 @@ assert(current != fwdState); current = fwdState; assert(fwdState->server_fd == server_fd); + if (Config.onoff.log_ip_on_direct && status != COMM_ERR_DNS && fs->code == DIRECT) + hierarchyNote(&fwdState->request->hier, fs->code, fd_table[server_fd].ipaddr); if (status == COMM_ERR_DNS) { /* * Only set the dont_retry flag if the DNS lookup fails on @@ -242,25 +244,12 @@ assert(fs); err = errorCon(ERR_CONNECT_FAIL, HTTP_SERVICE_UNAVAILABLE); err->xerrno = errno; - if (fs->peer) { - err->host = xstrdup(fs->peer->host); - err->port = fs->peer->http_port; - } else { - err->host = xstrdup(request->host); - err->port = request->port; - } fwdFail(fwdState, err); if (fs->peer) peerConnectFailed(fs->peer); comm_close(server_fd); } else { debug(17, 3) ("fwdConnectDone: FD %d: '%s'\n", server_fd, storeUrl(fwdState->entry)); - if (fs->peer) - hierarchyNote(&fwdState->request->hier, fs->code, fs->peer->host); - else if (Config.onoff.log_ip_on_direct) - hierarchyNote(&fwdState->request->hier, fs->code, fd_table[server_fd].ipaddr); - else - hierarchyNote(&fwdState->request->hier, fs->code, request->host); fd_note(server_fd, storeUrl(fwdState->entry)); fd_table[server_fd].uses++; if (fs->peer) @@ -275,9 +264,12 @@ { FwdState *fwdState = data; StoreEntry *entry = fwdState->entry; + FwdServer *fs = fwdState->servers; ErrorState *err; debug(17, 2) ("fwdConnectTimeout: FD %d: '%s'\n", fd, storeUrl(entry)); assert(fd == fwdState->server_fd); + if (Config.onoff.log_ip_on_direct && fs->code == DIRECT && fd_table[fd].ipaddr[0]) + hierarchyNote(&fwdState->request->hier, fs->code, fd_table[fd].ipaddr); if (entry->mem_obj->inmem_hi == 0) { err = errorCon(ERR_CONNECT_FAIL, HTTP_GATEWAY_TIMEOUT); err->xerrno = ETIMEDOUT; @@ -440,6 +432,10 @@ ctimeout, fwdConnectTimeout, fwdState); + if (fs->peer) + hierarchyNote(&fwdState->request->hier, fs->code, fs->peer->host); + else + hierarchyNote(&fwdState->request->hier, fs->code, fwdState->request->host); commConnectStart(fd, host, port, fwdConnectDone, fwdState); } diff -ruN squid-2.5.STABLE12/src/fs/aufs/aiops.c squid-2.5.STABLE13/src/fs/aufs/aiops.c --- squid-2.5.STABLE12/src/fs/aufs/aiops.c Mon Apr 25 10:27:02 2005 +++ squid-2.5.STABLE13/src/fs/aufs/aiops.c Mon Dec 26 09:32:28 2005 @@ -1,5 +1,5 @@ /* - * $Id: aiops.c,v 1.12.2.11 2005/04/25 16:27:02 serassio Exp $ + * $Id: aiops.c,v 1.12.2.12 2005/12/26 16:32:28 serassio Exp $ * * DEBUG: section 43 AIOPS * AUTHOR: Stewart Forster @@ -940,6 +940,9 @@ { squidaio_thread_t *threadp; int i; + + if (!squidaio_initialised) + return; storeAppendPrintf(sentry, "\n\nThreads Status:\n"); storeAppendPrintf(sentry, "#\tID\t# Requests\n"); diff -ruN squid-2.5.STABLE12/src/ftp.c squid-2.5.STABLE13/src/ftp.c --- squid-2.5.STABLE12/src/ftp.c Tue Oct 18 09:26:49 2005 +++ squid-2.5.STABLE13/src/ftp.c Sat Feb 25 16:34:13 2006 @@ -1,6 +1,6 @@ /* - * $Id: ftp.c,v 1.316.2.33 2005/10/18 15:26:49 hno Exp $ + * $Id: ftp.c,v 1.316.2.36 2006/02/25 23:34:13 hno Exp $ * * DEBUG: section 9 File Transfer Protocol (FTP) * AUTHOR: Harvest Derived @@ -534,7 +534,7 @@ continue; if (regexec(&scan_ftp_integer, day, 0, NULL, 0) != 0) continue; - if (regexec(&scan_ftp_time, day, 0, NULL, 0) != 0) /* Yr | hh:mm */ + if (regexec(&scan_ftp_time, year, 0, NULL, 0) != 0) /* Yr | hh:mm */ continue; snprintf(tbuf, 128, "%s %2s %5s", month, day, year); @@ -556,7 +556,7 @@ t += strlen(tbuf) + 1; } p->name = xstrdup(t); - if ((t = strstr(p->name, " -> "))) { + if (p->type == 'l' && (t = strstr(p->name, " -> "))) { *t = '\0'; p->link = xstrdup(t + 4); } @@ -2331,7 +2331,11 @@ return; if (!err) { /* Shedule the rest of the request */ - requestReadBody(ftpState->request, ftpState->data.buf, ftpState->data.size, ftpRequestBody, ftpState); + commSetSelect(fd, + COMM_SELECT_WRITE, + ftpDataWrite, + ftpState, + Config.Timeout.read); } else { debug(9, 1) ("ftpDataWriteCallback: write error: %s\n", xstrerror()); ftpFailed(ftpState, ERR_WRITE_ERROR); diff -ruN squid-2.5.STABLE12/src/gopher.c squid-2.5.STABLE13/src/gopher.c --- squid-2.5.STABLE12/src/gopher.c Sat Sep 10 19:49:53 2005 +++ squid-2.5.STABLE13/src/gopher.c Fri Mar 10 15:54:38 2006 @@ -1,6 +1,6 @@ /* - * $Id: gopher.c,v 1.162.2.11 2005/09/11 01:49:53 hno Exp $ + * $Id: gopher.c,v 1.162.2.12 2006/03/10 22:54:38 hno Exp $ * * DEBUG: section 10 Gopher * AUTHOR: Harvest Derived @@ -708,7 +708,6 @@ ErrorState *err; err = errorCon(ERR_WRITE_ERROR, HTTP_BAD_GATEWAY); err->xerrno = errno; - err->host = xstrdup(gopherState->req->host); err->port = gopherState->req->port; err->url = xstrdup(storeUrl(entry)); fwdFail(gopherState->fwdState, err); diff -ruN squid-2.5.STABLE12/src/helper.c squid-2.5.STABLE13/src/helper.c --- squid-2.5.STABLE12/src/helper.c Fri Mar 25 19:50:53 2005 +++ squid-2.5.STABLE13/src/helper.c Fri Mar 10 15:56:21 2006 @@ -1,6 +1,6 @@ /* - * $Id: helper.c,v 1.34.2.18 2005/03/26 02:50:53 hno Exp $ + * $Id: helper.c,v 1.34.2.19 2006/03/10 22:56:21 hno Exp $ * * DEBUG: section 84 Helper process maintenance * AUTHOR: Harvest Derived? @@ -378,7 +378,6 @@ srv->request ? log_quote(srv->request->buf) : "(none)"); } storeAppendPrintf(sentry, "\nFlags key:\n\n"); - storeAppendPrintf(sentry, " A = ALIVE\n"); storeAppendPrintf(sentry, " B = BUSY\n"); storeAppendPrintf(sentry, " C = CLOSING\n"); storeAppendPrintf(sentry, " S = SHUTDOWN\n"); @@ -398,8 +397,8 @@ hlp->stats.replies); storeAppendPrintf(sentry, "queue length: %d\n", hlp->stats.queue_size); - storeAppendPrintf(sentry, "avg service time: %d msec\n", - hlp->stats.avg_svc_time); + storeAppendPrintf(sentry, "avg service time: %.2f msec\n", + (double) hlp->stats.avg_svc_time / 1000.0); storeAppendPrintf(sentry, "\n"); storeAppendPrintf(sentry, "%7s\t%7s\t%7s\t%11s\t%s\t%7s\t%7s\t%7s\n", "#", @@ -412,7 +411,8 @@ "Request"); for (link = hlp->servers.head; link; link = link->next) { srv = link->data; - tt = 0.001 * tvSubMsec(srv->dispatch_time, current_time); + tt = 0.001 * tvSubMsec(srv->dispatch_time, + srv->flags.busy ? current_time : srv->answer_time); storeAppendPrintf(sentry, "%7d\t%7d\t%7d\t%11d\t%c%c%c%c\t%7.3f\t%7d\t%s\n", srv->index + 1, srv->rfd, @@ -427,12 +427,10 @@ srv->request ? log_quote(srv->request->buf) : "(none)"); } storeAppendPrintf(sentry, "\nFlags key:\n\n"); - storeAppendPrintf(sentry, " A = ALIVE\n"); storeAppendPrintf(sentry, " B = BUSY\n"); storeAppendPrintf(sentry, " C = CLOSING\n"); storeAppendPrintf(sentry, " R = RESERVED or DEFERRED\n"); storeAppendPrintf(sentry, " S = SHUTDOWN\n"); - storeAppendPrintf(sentry, " P = PLACEHOLDER\n"); } void @@ -734,9 +732,10 @@ srv->offset = 0; srv->request = NULL; hlp->stats.replies++; + srv->answer_time = current_time; hlp->stats.avg_svc_time = intAverage(hlp->stats.avg_svc_time, - tvSubMsec(srv->dispatch_time, current_time), + tvSubUsec(srv->dispatch_time, current_time), hlp->stats.replies, REDIRECT_AV_FACTOR); if (cbdataValid(r->data)) { r->callback(r->data, srv, srv->buf); diff -ruN squid-2.5.STABLE12/src/internal.c squid-2.5.STABLE13/src/internal.c --- squid-2.5.STABLE12/src/internal.c Thu Sep 15 03:53:28 2005 +++ squid-2.5.STABLE13/src/internal.c Fri Mar 10 15:43:37 2006 @@ -1,6 +1,6 @@ /* - * $Id: internal.c,v 1.23.2.1 2005/09/15 09:53:28 hno Exp $ + * $Id: internal.c,v 1.23.2.2 2006/03/10 22:43:37 hno Exp $ * * DEBUG: section 76 Internal Squid Object handling * AUTHOR: Duane, Alex, Henrik @@ -98,7 +98,7 @@ static char lc_host[SQUIDHOSTNAMELEN]; assert(host && port && name); /* convert host name to lower case */ - xstrncpy(lc_host, host, SQUIDHOSTNAMELEN - 1); + xstrncpy(lc_host, host, SQUIDHOSTNAMELEN); Tolower(lc_host); /* * append the domain in order to mirror the requests with appended diff -ruN squid-2.5.STABLE12/src/ipc.c squid-2.5.STABLE13/src/ipc.c --- squid-2.5.STABLE12/src/ipc.c Wed Oct 17 14:25:02 2001 +++ squid-2.5.STABLE13/src/ipc.c Sat Feb 25 16:03:17 2006 @@ -1,6 +1,6 @@ /* - * $Id: ipc.c,v 1.26 2001/10/17 20:25:02 hno Exp $ + * $Id: ipc.c,v 1.26.2.1 2006/02/25 23:03:17 hno Exp $ * * DEBUG: section 54 Interprocess Communication * AUTHOR: Duane Wessels @@ -258,10 +258,11 @@ * crfd, cwfd, or debug_log are in the rage 0-2. */ do { - x = open(_PATH_DEVNULL, 0, 0444); - if (x > -1) - commSetCloseOnExec(x); - } while (x < 3); + /* First make sure 0-2 is occupied by something. Gets cleaned up later */ + x = dup(crfd); + assert(x > -1); + } while (x < 3 && x > -1); + close(x); t1 = dup(crfd); t2 = dup(cwfd); t3 = dup(fileno(debug_log)); diff -ruN squid-2.5.STABLE12/src/protos.h squid-2.5.STABLE13/src/protos.h --- squid-2.5.STABLE12/src/protos.h Thu Sep 15 03:53:28 2005 +++ squid-2.5.STABLE13/src/protos.h Sat Feb 25 16:07:50 2006 @@ -1,6 +1,6 @@ /* - * $Id: protos.h,v 1.420.2.38 2005/09/15 09:53:28 hno Exp $ + * $Id: protos.h,v 1.420.2.39 2006/02/25 23:07:50 hno Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -388,7 +388,7 @@ extern int httpHeaderIdByNameDef(const char *name, int name_len); extern const char *httpHeaderNameById(int id); extern void httpHeaderMaskInit(HttpHeaderMask * mask, int value); -extern void httpHeaderCalcMask(HttpHeaderMask * mask, const int *enums, int count); +extern void httpHeaderCalcMask(HttpHeaderMask * mask, const http_hdr_type * enums, int count); extern int httpHeaderHasConnDir(const HttpHeader * hdr, const char *directive); extern void httpHeaderAddContRange(HttpHeader *, HttpHdrRangeSpec, squid_off_t); extern void strListAdd(String * str, const char *item, char del); diff -ruN squid-2.5.STABLE12/src/squid.h squid-2.5.STABLE13/src/squid.h --- squid-2.5.STABLE12/src/squid.h Fri Mar 25 19:50:53 2005 +++ squid-2.5.STABLE13/src/squid.h Fri Mar 10 15:43:37 2006 @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.216.2.8 2005/03/26 02:50:53 hno Exp $ + * $Id: squid.h,v 1.216.2.9 2006/03/10 22:43:37 hno Exp $ * * AUTHOR: Duane Wessels * @@ -285,11 +285,7 @@ #include #endif -#if !defined(MAXHOSTNAMELEN) || (MAXHOSTNAMELEN < 128) -#define SQUIDHOSTNAMELEN 128 -#else -#define SQUIDHOSTNAMELEN MAXHOSTNAMELEN -#endif +#define SQUIDHOSTNAMELEN 256 #define SQUID_MAXPATHLEN 256 #ifndef MAXPATHLEN diff -ruN squid-2.5.STABLE12/src/ssl.c squid-2.5.STABLE13/src/ssl.c --- squid-2.5.STABLE12/src/ssl.c Thu Sep 1 14:24:27 2005 +++ squid-2.5.STABLE13/src/ssl.c Fri Mar 10 15:54:38 2006 @@ -1,6 +1,6 @@ /* - * $Id: ssl.c,v 1.118.2.12 2005/09/01 20:24:27 hno Exp $ + * $Id: ssl.c,v 1.118.2.13 2006/03/10 22:54:38 hno Exp $ * * DEBUG: section 26 Secure Sockets Layer Proxy * AUTHOR: Duane Wessels @@ -428,7 +428,6 @@ err = errorCon(ERR_CONNECT_FAIL, HTTP_SERVICE_UNAVAILABLE); *sslState->status_ptr = HTTP_SERVICE_UNAVAILABLE; err->xerrno = errno; - err->host = xstrdup(sslState->host); err->port = sslState->port; err->request = requestLink(request); err->callback = sslErrorComplete; @@ -469,7 +468,6 @@ err = errorCon(ERR_CONNECT_FAIL, HTTP_SERVICE_UNAVAILABLE); *sslState->status_ptr = HTTP_SERVICE_UNAVAILABLE; err->xerrno = ETIMEDOUT; - err->host = xstrdup(sslState->host); err->port = sslState->port; err->request = requestLink(request); err->callback = sslErrorComplete; diff -ruN squid-2.5.STABLE12/src/structs.h squid-2.5.STABLE13/src/structs.h --- squid-2.5.STABLE12/src/structs.h Sat Sep 3 03:14:43 2005 +++ squid-2.5.STABLE13/src/structs.h Fri Mar 10 15:54:38 2006 @@ -1,6 +1,6 @@ /* - * $Id: structs.h,v 1.408.2.48 2005/09/03 09:14:43 serassio Exp $ + * $Id: structs.h,v 1.408.2.51 2006/03/10 22:54:38 hno Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -598,6 +598,7 @@ int ignore_unknown_nameservers; int client_pconns; int server_pconns; + int error_pconns; #if USE_CACHE_DIGESTS int digest_generation; #endif @@ -1073,6 +1074,12 @@ squid_off_t offset; squid_off_t size; } out; + HttpReply *reply; /* it is important for clientHttpRequest + * to have its own HttpReply for + * logging, especially in cases + * where the reply headers sent to + * the client are different than + * those received from the origin server. */ HttpHdrRangeIter range_iter; /* data for iterating thru range specs */ size_t req_sz; /* raw request size on input, not current request size */ StoreEntry *entry; @@ -1723,7 +1730,6 @@ request_t *request; char *url; int xerrno; - char *host; u_short port; char *dnsserver_msg; time_t ttl; diff -ruN squid-2.5.STABLE12/src/tools.c squid-2.5.STABLE13/src/tools.c --- squid-2.5.STABLE12/src/tools.c Fri Sep 16 15:13:18 2005 +++ squid-2.5.STABLE13/src/tools.c Sat Jan 14 18:17:47 2006 @@ -1,6 +1,6 @@ /* - * $Id: tools.c,v 1.213.2.20 2005/09/16 21:13:18 hno Exp $ + * $Id: tools.c,v 1.213.2.22 2006/01/15 01:17:47 hno Exp $ * * DEBUG: section 21 Misc Functions * AUTHOR: Harvest Derived @@ -563,7 +563,7 @@ #endif #if HAVE_PRCTL && defined(PR_SET_DUMPABLE) /* Set Linux DUMPABLE flag */ - if (Config.coredump_dir && prctl(PR_SET_DUMPABLE, 1) != 0) + if (Config.coredump_dir && prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) != 0) debug(50, 2) ("prctl: %s\n", xstrerror()); #endif } @@ -580,7 +580,7 @@ #endif #if HAVE_PRCTL && defined(PR_SET_DUMPABLE) /* Set Linux DUMPABLE flag */ - if (Config.coredump_dir && prctl(PR_SET_DUMPABLE, 1) != 0) + if (Config.coredump_dir && prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) != 0) debug(50, 2) ("prctl: %s\n", xstrerror()); #endif } @@ -605,7 +605,7 @@ #endif #if HAVE_PRCTL && defined(PR_SET_DUMPABLE) /* Set Linux DUMPABLE flag */ - if (Config.coredump_dir && prctl(PR_SET_DUMPABLE, 1) != 0) + if (Config.coredump_dir && prctl(PR_SET_DUMPABLE, 1, 0, 0, 0) != 0) debug(50, 2) ("prctl: %s\n", xstrerror()); #endif } diff -ruN squid-2.5.STABLE12/src/url.c squid-2.5.STABLE13/src/url.c --- squid-2.5.STABLE12/src/url.c Sat Jan 18 07:16:49 2003 +++ squid-2.5.STABLE13/src/url.c Fri Mar 10 15:43:37 2006 @@ -1,6 +1,6 @@ /* - * $Id: url.c,v 1.133.2.5 2003/01/18 14:16:49 hno Exp $ + * $Id: url.c,v 1.133.2.7 2006/03/10 22:43:37 hno Exp $ * * DEBUG: section 23 URL Parsing * AUTHOR: Duane Wessels @@ -63,6 +63,7 @@ "SUBSCRIBE", "UNSUBSCRIBE", "POLL", + "REPORT", "%EXT00", "%EXT01", "%EXT02", @@ -313,7 +314,7 @@ } #endif if (Config.appendDomain && !strchr(host, '.')) - strncat(host, Config.appendDomain, SQUIDHOSTNAMELEN); + strncat(host, Config.appendDomain, SQUIDHOSTNAMELEN - strlen(host) - 1); /* remove trailing dots from hostnames */ while ((l = strlen(host)) > 0 && host[--l] == '.') host[l] = '\0';