cgi-анонимайзер, как убрать тайм-аут???

Discussion in 'PHP' started by mitz, 27 Sep 2007.

  1. mitz

    mitz New Member

    Joined:
    21 Sep 2007
    Messages:
    1
    Likes Received:
    0
    Reputations:
    0
    кароче поставил себе на сервак скрипт.. http://www.jmarshall.com/tools/cgiproxy/releases/cgiproxy.2.0.1.tar.gz

    в нём утановлен лимит времени на соединение - 10 минут

    подскажите пжалста как убрать это лимит
    пробовал искать переменные где есть слово time... про тайм-аут так и не нашёл...
    помогите плиз... в перле ваще не шарю!!!..
     
  2. Sn@k3

    Sn@k3 Elder - Старейшина

    Joined:
    13 Apr 2006
    Messages:
    1,000
    Likes Received:
    437
    Reputations:
    90
    перед тобо открытый код же.... ищи цифру 10 -))) а так софт не видел....
     
  3. Sn@k3

    Sn@k3 Elder - Старейшина

    Joined:
    13 Apr 2006
    Messages:
    1,000
    Likes Received:
    437
    Reputations:
    90
    instances of nph-proxy.cgi can hang around for many hours and drag the
    # system. So until we figure out why that is, here's a 10-minute timeout.]/b]
    # Please write me with any insight into this, since I can't reproduce the
    # problem. Under what conditions, on what systems, does it happen?
    # 9-9-1999: One theory is that it's a bug in older Apaches, and is fixed by
    # upgrading to Apache 1.3.6 or better. Julian Haight reports seeing the
    # same problem with other scripts on Apache 1.3.3, and it cleared up when
    # he upgraded to Apache 1.3.6. Let me know if you can confirm this.
    # alarm() is missing on some systems (such as Windows), so use eval{} to
    # avoid failing when alarm() isn't available.

    $SIG{'ALRM'} = \&timeexit ;
    eval { alarm(600) } ;

    переведи