[twsocket] TLS communication issue

2012-12-10 Thread marius gabi
Hello Currently I have implemented a TLS client. This application is encountering a communication issue when using a new third party server. I am setting the cert file, private key file, password and ca file. In this configuration the handshake is not performed. Currently I am using ICS v6

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-10 Thread Albert Wiersch
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels If you just recognized that string property Location doesn't include the port number then that might be a bug. However relocation works without problem for me with the OverbyteIcsWebServ demo

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-10 Thread Arno Garrels
Albert Wiersch wrote: From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels If you just recognized that string property Location doesn't include the port number then that might be a bug. However relocation works without problem for me with the

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-10 Thread RTT
I tested with current ICSv8/v7 and it works perfectly (checked with Wireshark). The only problem is that property Location doesn't include the non-default port number. A workaround would be to get the Location header manually. In a browser I get an html that says: Server port is 8080. With

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-12-10 Thread Maurizio Lotauro
Scrive brian - hikarito...@gmail.com: This seems to be finally fixed in the latest Daily/SVN, the data received is transparently uncompressed etc. HOWEVER, there is a small issue, which isn't readily apparent unless you check received data size etc: If you don't include

Re: [twsocket] Did I find a bug in THttpCli?

2012-12-10 Thread Albert Wiersch
Yes, something is wrong. I also just compiled v8 and the OverbyteIcsHttpTst demo as well. If you GET this URL: http://www.htmlvalidator.com/test/cookies/test-redirect.php Then you get Server port is 80. with the ICS demo, but put the same URL in a browser and you get Server port is 8080., so

Re: [twsocket] deflate for OverbyteIcsHttpCCodZLib

2012-12-10 Thread brian -
Yes, including it in the project source is enough, but maybe this should be clearly noted somewhere for other devs, as by default you'd think just setting the Options should be enough. On Mon, Dec 10, 2012 at 7:48 PM, Maurizio Lotauro lotauro.mauri...@dnet.itwrote: Scrive brian -

Re: [twsocket] exception after THttpCli.ReqDone causes double triggerof RequestDone

2012-12-10 Thread brian -
I see. Thanks for the explanation and the workaround :) On Mon, Dec 10, 2012 at 7:17 AM, Arno Garrels arno.garr...@gmx.de wrote: brian - wrote: After RequestDone with THttpCli, if there is an -unhandled- exception before the code is out of ReqDone stack, RequestDone is triggered again.