On Mon, 27 Sep 2004 17:31:11 -0700 (PDT), R Jantarasami
<[EMAIL PROTECTED]> wrote:
> berikut salah satu patch squid :
> http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE6-partial_hit_is_miss.patch
> 
> isinya :
> Index: squid/src/client_side.c
> diff -c squid/src/client_side.c:1.561.2.56
> squid/src/client_side.c:1.561.2.57
> *** squid/src/client_side.c:1.561.2.56  Sat Jul 17
> 10:01:50 2004
> --- squid/src/client_side.c     Sat Jul 17 10:12:16 2004
> ***************
> *** 1673,1679 ****
>         /*
>          * plain ol' cache hit
>          */
> !       if (e->mem_status == IN_MEMORY)
>             http->log_type = LOG_TCP_MEM_HIT;
>         else if (Config.onoff.offline)
>             http->log_type = LOG_TCP_OFFLINE_HIT;
> --- 1673,1681 ----
>         /*
>          * plain ol' cache hit
>          */
> !       if (e->store_status != STORE_OK)
> !           http->log_type = LOG_TCP_MISS;
> !       else if (e->mem_status == IN_MEMORY)
>             http->log_type = LOG_TCP_MEM_HIT;
>         else if (Config.onoff.offline)
>             http->log_type = LOG_TCP_OFFLINE_HIT;
> 
> apa yg harus saya lakukan dgn file ini utk ngepatch
> squid saya ?
> 
> R Jantarasami
> 

Anda masuklah (cd) ke direktori tempat source squid anda. Pastikan
terdapat direktori src/ tepat di bawah direktori anda saat ini, lalu
eksekusi perintah berikut

$ patch -Np1 -i /path/to/squid-2.5.STABLE6-partial_hit_is_miss.patch

Tentu saja anda harus menyesuaikan "/path/to" dengan direktori tempat
anda menyimpan file "squid-2.5.STABLE6-partial_hit_is_miss.patch".

Semoga membantu.

-- 
<idud>

-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip, FAQ, dan info milis di http://linux.or.id/milis.php
Tidak bisa posting? Baca:
http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi
http://linux.or.id/wiki/index.php?pagename=TataTertibMilis

Kirim email ke