Article delegate-en <_A3110@delegate-en.ML_>
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[delegate-en/3110] [Reference:<_A3109@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Timeout issues
28 Jan 2006 20:43:03 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A3109@delegate-en.ML_> on 01/28/06(20:47:19)
you Gertjan Klein <peugabdyi.ml@ml.delegate.org> wrote:
 |I'm using Delegate (on Windows) as an HTTPS proxy. This works well,
 |except when I have a VPN connection (using Cisco's VPN client) to my
 |company's servers. The problem appears to have to do with timeouts (I
 |suspect DNS timeouts). I have been studying the Delegate logs and
 |manual, but could not find how to solve this problem.
 |
 |I start Delegate as follows (wrapped for posting):
 |
 |dg9_0_3.exe -v -P8080 RES_DEBUG=9 SERVER=http FSV=sslway
 |  DGROOT="c:/program files/delegate" ADMIN=peugabdyi.ml@ml.delegate.org
 |  PERMIT="*:*:*" REMITTABLE="*"
 |
 |A fragment of the log file follows:
 |
 |01/28 11:27:10.90 [4552] 0+0: --INITIALIZATION DONE: 9.0.3 on
 |WindowsNT--
 |(WIN) 27:10 [4552] setNonblockingSocket(17,1)=0
 |(WIN) 27:42 [4552] spawn() = 1776 [2244], children(alive=1,total=1)
 |0.031s
 |01/28 11:28:42.94 [2244] 0+0: {R} RES_order(CFDS,CFNDS)
 |01/28 11:28:42.94 [2244] 1+1: {R} RES_order(,CFDS)
 |01/28 11:28:42.94 [2244] 1+1: {R} RES_order(CFDS,)
 |01/28 11:28:42.94 [2244] 1+1: {R} RES_order(CFDS,CFDS)
 |(WIN) 28:42 [2244] DLL 10000000 ssleay32.dll
 |(WIN) 28:42 [2244] DLL 1020000 libeay32.dll
 |(WIN) 28:42 [2244] DLL 0 z
 |01/28 11:28:42.95 [2244] 1+1: (0) accepted [19]
 |-@[127.0.0.1]localhost:1682 (60.056s)(1)
 |01/28 11:28:42.95 [2244] 1+1: {R} RES_order(,CFDS)
...
 |I notice that the accepted line states it took 60.056s. However, I can't
 |figure out what this minute was spent on, or how to fix the problem.

You can inspect the resolver problem by getting detailed log of it with
RES_DEBUG=1 option.  The problem can be solved by supressing the DeleGate's
original resolver (Resolvy) and using the standard resolver of Windows
only by specifying a parameter as this:

  RESOLV=sys

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V