乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      轉(zhuǎn)載:Squid3.0與2.7的配置差異

       命運(yùn)之輪 2010-01-11

      Squid3.0最重要的新特性:

      • Code converted to C++, with significant internal restructuring and rewrites.
      • ICAP implementation (RFC 3507 and www.icap-forum.org)
      • Edge Side Includes (ESI) implementation (www.esi.org)

      更多的請參考官方說明

      來說說配置方法的不同之處(只說我自己實(shí)際使用的)

      ./configure的配置項(xiàng)

      ./configure --prefix=/usr/local/squid --with-large-files --enable-useragent-log --enable-referer-log --enable-linux-netfilter --enable-x-accelerator-vary --disable-internal-dns --disable-mempools --with-maxfd=65535

      3.0版本去掉了以下選項(xiàng):

      --enable-dlmalloc    不再需要

      --enable-epoll    系統(tǒng)會(huì)自己選擇最優(yōu)的I/O Loop Method

      --enable-truncate     不再需要

      --enable-follow-x-forwarded-for    沒有此項(xiàng)配置了

      增加了以下選項(xiàng):

      --disable-mempools    相當(dāng)于2.7配置文件里面的memory_pools off,適合內(nèi)存使用較大的情況,系統(tǒng)會(huì)調(diào)用free()來清除沒用到的緩存內(nèi)存

      --with-maxfd=65535    相當(dāng)于ulimit -n 65535,2.7配置文件里面的max_filedescriptors 65535

      配置文件(squid.conf)差別

      在Squid3.0版本的配置文件中,如下主要tag發(fā)生了變化

      acl    去掉了對src為all的定義,已集成;對protocol的定義簡寫為proto

      http_port     去掉了選項(xiàng)http11和act_as_origin;增加了類型http_status

      cache_peer    去掉了選項(xiàng)http11

      header_access    刪除了此tag,以request_header_access和reply_header_access取代

      server_http11    刪除了此tag

      incoming_rate    刪除了此tag

      memory_pools    刪除了此tag,在./configure的時(shí)候?qū)崿F(xiàn)

      max_filedescriptors    刪除了此tag,在./configure的時(shí)候?qū)崿F(xiàn)

      上面只列出了我自己實(shí)際配置Squid時(shí),3.0版本和2.7版本的不同之處,關(guān)于更多的大家可以參考官方文檔。

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多