Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   PHP, PERL, MySQL, JavaScript (https://forum.antichat.xyz/forumdisplay.php?f=37)
-   -   cgi-анонимайзер, как убрать тайм-аут??? (https://forum.antichat.xyz/showthread.php?t=50008)

mitz 27.09.2007 21:44

cgi-анонимайзер, как убрать тайм-аут???
 
кароче поставил себе на сервак скрипт.. 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) } ;

переведи


Время: 22:57