Re: [twsocket] HTTPcli: source path question

2010-09-09 Thread Anton S.
Hello SZ! >You must parse the HTML for this. We use a Delphi HTML parser which I >downloaded from sourceforge for this but sometimes it raises an exception. >Search for that and if you cannot find it I will do my best to search it for >you in our projects... Actually I'm trying to extend Angus' Ma

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Arno Garrels
Svemu - Reparto Sviluppo wrote: > now work fine, the problem was SslContext. Good news. > Now i investigate for understand wich parameter can give me the error. Confusing and often misunderstood is property SslVersionMethod. In most cases, if not all, it should be set to one of the sslV23_XX

[twsocket] THttpServer - How to handle unimplemented request methods

2010-09-09 Thread RTT
Hi everyone! Is there any simple way to handle other than the GET, POST and HEADER request methods,... as OPTIONS,...? The way it is now, the THttpConnection.ProcessRequest procedure always respond with a Answer501, not giving any chance to handle other methods. I think a TriggerOnUnknownMeth

Re: [twsocket] Multiple NICs question

2010-09-09 Thread Fastream Technologies
Thanks! On Wed, Sep 8, 2010 at 4:34 PM, Lester wrote: > You can only have one default route out of your machine. You CAN make two > default routes, but the one with the lowest metric will win. If you have > two interfaces with the same metric, the first interface will win. If you > want to sp

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Svemu - Reparto Sviluppo
- Original Message - From: "Arno Garrels" Just sent my working binary by private mail. Please let us know how it works. Hi Arno, now work fine, the problem was SslContext. Now i investigate for understand wich parameter can give me the error. Thank you for cooperation, best regard

Re: [twsocket] THttpServer POST

2010-09-09 Thread Arno Garrels
David Lewis wrote: > I'm putting together a basic web server for a small application to > communicate with. > > I have the GET event working as intended, but am having difficulty > with > the POST event. > > The event fires, but I can't seem to work out where to find the POST > data... > > I t

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Arno Garrels
Svemu - Reparto Sviluppo wrote: > can you send me your compiled demo and dll? Just sent my working binary by private mail. Please let us know how it works. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/li

[twsocket] THttpServer POST

2010-09-09 Thread David Lewis
I'm putting together a basic web server for a small application to communicate with. I have the GET event working as intended, but am having difficulty with the POST event. The event fires, but I can't seem to work out where to find the POST data... I tried: ((THttpConnection *)Client)->Rece

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Svemu - Reparto Sviluppo
yes, my customer use my application but for this test, i use OverbyteIcsSslFtpTst.exe on the customer's pc. Is it the _same_ OverbyteIcsSslFtpTst.exe? No, i've compiled OverbyteIcsSslFtpTst and OverbyteIcsSslFtpTst and i make a test. now i've copy SslContext from HTTP and past into Ftp but i'

Re: [twsocket] SSL OnSslVerifyPeer vs. OnSslHandshakeDone event

2010-09-09 Thread Arno Garrels
Kurt Andersen wrote: > When using the TSslWSocket in both client and server application, > will the Root cert always be sent before the > Certificate e.g. two handshake done events with root cert first and > cert second ? There is only a single handshake done event regardless of how many certific

Re: [twsocket] 535 SSL handshake failed. Error #1

2010-09-09 Thread Arno Garrels
Svemu - Reparto Sviluppo wrote: > From: "Arno Garrels" >> It might be that the application loaded some incompatible >> OpenSSL libraries unless the full path and filenames are >> specified. >> >> try >>GSSLEAY_DLL_Name := ; >>GLIBEAY_DLL_Name := ; >>MySslContext.InitContext; // loads

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-09 Thread Arno Garrels
Tobias Rapp wrote: > Arno Garrels wrote: >> The DLL names are globally writable typed constants, set their values >> before the OpenSSL libraries are loaded. > > Is there any advantage to use writable typed constants like > > const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; > > instead of > >

Re: [twsocket] New DLL hijacking vulnerability KB 2269637

2010-09-09 Thread Tobias Rapp
Arno Garrels wrote: > The DLL names are globally writable typed constants, set their values > before the OpenSSL libraries are loaded. Is there any advantage to use writable typed constants like const GSSLEAY_DLL_Name : String = 'SSLEAY32.DLL'; instead of var GSSLEAY_DLL_Name : String = 'SS

Re: [twsocket] SSL OnSslVerifyPeer vs. OnSslHandshakeDone event

2010-09-09 Thread Kurt Andersen
Arno Once again thanks for the help. I will only implement the OnHandshakeDone event then. I have one final question though. When using the TSslWSocket in both client and server application, will the Root cert always be sent before the Certificate e.g. two handshake done events with root cert f