Fwd: Implementing a Custom SSL Authorization Manager [Thrift C Binding]

2013-03-31 Thread Isuru Haththotuwa
[fwding to dev list] Hi, I'm in the process of implementing a dummy SSL authorization manager which will allow self signed certificates, etc. and will not perform host name verification. For the skipping host name verification, I have overridden AccessManager class in TSSLSocket.h, and passed an

Disable Host Name Verification in Thrift C++ Client

2013-03-07 Thread Isuru Haththotuwa
Hi, Is there a way to disable host name matching in SSL handshake in thrift? I'm using a c++ thrift client. -- Thanks and Regards, Isuru

Re: Thrift C++ Client Crashing Through TSSLSocket::close() in a SIGPIPE Signal

2013-02-05 Thread Isuru Haththotuwa
any idea on this? your help is very much appreciated. On Mon, Feb 4, 2013 at 10:26 AM, Isuru Haththotuwa wrote: > Hi all, > > I have a C++ client which uses thrift to publish data to a remote server. > When the remote server shut down, I catch an exception to see if I can > r

Thrift C++ Client Crashing Through TSSLSocket::close() in a SIGPIPE Signal

2013-02-03 Thread Isuru Haththotuwa
Hi all, I have a C++ client which uses thrift to publish data to a remote server. When the remote server shut down, I catch an exception to see if I can re-connect to it periodically. However, in deallocating memory before re-initializing a client again, the client code always crashes. I debugged

Re: Exception in SSL_read: Wrong Version Number

2012-11-06 Thread Isuru Haththotuwa
for the issue? Thanks. On Tue, Nov 6, 2012 at 10:21 AM, Isuru Haththotuwa wrote: > Hi Roger, > > Thanks for the reply. I do not have a simple test case as such since this > code communicates with a server which is not written by me. I can give you > a simple sample of the cli

Re: Exception in SSL_read: Wrong Version Number

2012-11-05 Thread Isuru Haththotuwa
appreciated! Thank you. On Tue, Nov 6, 2012 at 2:47 AM, Roger Meier wrote: > I've no idea for the moment... > > Do you have a test case to reproduce it? > e.g. within cross language test suite started via test/test.sh > > -roger > > > -Ursprüngliche Na

Exception in SSL_read: Wrong Version Number

2012-11-04 Thread Isuru Haththotuwa
Hi all, I'm in the process of learning thrift. I wrote a secure client in C++ to connect to a thrift server, authenticated via SSL. First I wrote a single threaded application, which ran without any issues. But, when I try to send requests to the server concurrently with multiple threads, the prog