Re: SSL and Python

2004-04-23 Thread Dr. Stephen Henson
On Fri, Apr 23, 2004, Lukasz Wójcicki wrote: > > > > > > I read about non blocking IO in documentation of OpenSSL. There is > written > > > that I have to call SSL_write when I get SSL_ERROR_WRITE. What I'm doing > bad > > > ? > > > > > > > Where does it say that? In general you should wait until

Re: SSL and Python

2004-04-23 Thread Lukasz Wójcicki
> > > > I have server SSL written in C and client SSL written by python. Also, I > > use > > > > SSL non blocking in server SSL. > > > > Beginning If I trying send any data to client, it's ok. In one moment I > > get > > > > SSL_ERROR_WANT_WRITE. Because I have non blocking SSL in server, my > > pr

Re: SSL and Python

2004-04-22 Thread Lukasz Wójcicki
> On Thu, Apr 22, 2004 at 04:59:30PM +0200, ?ukasz W?jcicki wrote: > > I read about non blocking IO in documentation of OpenSSL. There is written > > that I have to call SSL_write when I get SSL_ERROR_WRITE. What I'm doing bad > > ? > > Without further info, it is hard to tell. > > There are at le

Re: SSL and Python

2004-04-22 Thread Ng Pheng Siong
On Thu, Apr 22, 2004 at 04:59:30PM +0200, ?ukasz W?jcicki wrote: > I read about non blocking IO in documentation of OpenSSL. There is written > that I have to call SSL_write when I get SSL_ERROR_WRITE. What I'm doing bad > ? Without further info, it is hard to tell. There are at least 2 or 3 Pyth

Re: SSL and Python

2004-04-22 Thread Dr. Stephen Henson
On Thu, Apr 22, 2004, £ukasz Wójcicki wrote: > > > I have server SSL written in C and client SSL written by python. Also, I > use > > > SSL non blocking in server SSL. > > > Beginning If I trying send any data to client, it's ok. In one moment I > get > > > SSL_ERROR_WANT_WRITE. Because I have non

Re: SSL and Python

2004-04-22 Thread Łukasz Wójcicki
> > I have server SSL written in C and client SSL written by python. Also, I use > > SSL non blocking in server SSL. > > Beginning If I trying send any data to client, it's ok. In one moment I get > > SSL_ERROR_WANT_WRITE. Because I have non blocking SSL in server, my program > > is suspend. > > Ma