Re: TTornado.py

2013-11-06 Thread Bryan Pham
Thanks Henrique, I've done the patch for https://issues.apache.org/jira/browse/THRIFT-2253 Best, Bryan

[jira] [Updated] (THRIFT-2253) Python Tornado TTornadoServer base class change

2013-11-06 Thread Bryan Pham (JIRA)
[ https://issues.apache.org/jira/browse/THRIFT-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Pham updated THRIFT-2253: --- Attachment: thrift-2253-ttornadoserver_3.1.1_support.patch patch for library changes. Tornado 3.0

[jira] [Created] (THRIFT-2253) Python Tornado TTornadoServer base class change

2013-11-06 Thread Bryan Pham (JIRA)
Bryan Pham created THRIFT-2253: -- Summary: Python Tornado TTornadoServer base class change Key: THRIFT-2253 URL: https://issues.apache.org/jira/browse/THRIFT-2253 Project: Thrift Issue Type: Bug

TTornado.py

2013-11-06 Thread Bryan Pham
Hi, it looks like TTornado.py isn't running because tcpserver is not inside netutil anymore. index af309c3..d90f672 100644 --- a/lib/py/src/TTornado.py +++ b/lib/py/src/TTornado.py @@ -27,7 +27,7 @@ from thrift.transport.TTransport import TTransportException from tornado import gen from tornado

TSSLSocket context setup issue

2013-08-04 Thread Bryan Pham
70,18 @@ SSLContext::~SSLContext() { if (ctx_ != NULL) { SSL_CTX_free(ctx_); ctx_ = NULL; + + //cleanup + ERR_free_strings(); + EVP_cleanup(); } } SSL* SSLContext::createSSL() { + //init + SSL_library_init(); + SSL_load_error_strings(); + SSL* ssl = SSL_new(ctx_); if (ssl ==

C++ TSSLSocket cacert returns signature

2013-08-03 Thread Bryan Pham
Hi, I am working with TSSLSocket in C++. I've read through the readme but currently hitting a very strange problem. I'm getting certificate signature failure. My cert is coming from http://curl.haxx.se/ca/cacert.pem. openssl s_client seems to work just fine. Any suggestion would be helpful.