Re: [twsocket] squid NTLM proxy support

2011-07-22 Thread emanuele bizzarri
Hi Arno, thankyou for your response. > I agree with you that OverbyteIcsNtlmMsgs.pas only supports Unicode > NTLM messages. However I recently implemented proxy support in TWSocket > and tested that stuff against Squid proxy, it did work with current > OverbyteIcsNtlmMsgs.pas fine. So at least th

Re: [twsocket] squid NTLM proxy support

2011-07-22 Thread Arno Garrels
emanuele bizzarri wrote: > Hi Arno, > thankyou for your response. > >> I agree with you that OverbyteIcsNtlmMsgs.pas only supports Unicode >> NTLM messages. However I recently implemented proxy support in >> TWSocket and tested that stuff against Squid proxy, it did work with >> current OverbyteIc

Re: [twsocket] squid NTLM proxy support

2011-07-22 Thread emanuele bizzarri
Hi, > I used the Windows port version 2.7stable8, that might be the difference? > > Here's my squid.conf: > > auth_param ntlm program C:/Squid/libexec/mswin_ntlm_auth.exe -A Users > auth_param ntlm children 5 > auth_param ntlm keep_alive on > [..] > > Authentication is delegated to external hel

Re: [twsocket] squid NTLM proxy support

2011-07-22 Thread Arno Garrels
emanuele bizzarri wrote: > Hi, > >> I used the Windows port version 2.7stable8, that might be the >> difference? >> >> Here's my squid.conf: >> >> auth_param ntlm program C:/Squid/libexec/mswin_ntlm_auth.exe -A Users >> auth_param ntlm children 5 >> auth_param ntlm keep_alive on >> [..] >> >>

Re: [twsocket] squid NTLM proxy support

2011-07-22 Thread emanuele bizzarri
It works! >From now I will use the svn version, and I will eliminate my patch. Tell me if you want to try your next code changes on my proxy. Thank you very much!!! Emanuele Il 22/07/2011 15:51, Arno Garrels ha scritto: > emanuele bizzarri wrote: >> Hi, >> >>> I used the Windows port version 2.7

Re: [twsocket] Socket flushing

2011-07-22 Thread Wilfried Mestdagh
> I´m having some issues with socket flushing due to the messageloop that What issues? > What is the purpose of calling MessagePump over here? Good question :) This dates from 1994... -- mvg, Wilfried http://www.mestdagh.biz http://www.comfortsoftware.be http://www.expertsoftware.be > -Oo

Re: [twsocket] Socket flushing

2011-07-22 Thread Éric Fleming Bonilha
What issues? It is a weird issue... it actually creates a stack overflow because in some parts of my app I need to call flush, and flush calls the messageloop and on messageloop some timer routines are called that enters again on the same routine to flush the socket! it is complicated... and