PDA

Просмотр полной версии : cgi-анонимайзер, как убрать тайм-аут???


mitz
27.09.2007, 21:44
кароче поставил себе на сервак скрипт.. http://www.jmarshall.com/tools/cgiproxy/releases/cgiproxy.2.0.1.tar.gz

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

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

Sn@k3
27.09.2007, 22:03
перед тобо открытый код же.... ищи цифру 10 -))) а так софт не видел....

Sn@k3
27.09.2007, 22:15
instances of nph-proxy.cgi can hang around for many hours and drag the
# [b]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) } ;

переведи