[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] bufferevent with openssl server
On Wed, Feb 2, 2011 at 2:27 PM, Wayne Shao <wshao99@xxxxxxxxx> wrote:
> Hi,
> I tried to setup an SSL server with libevent. But the read/write callbacks
> are not invoked after the handshake phase.
> Please see the code below.
> Thanks,
> W Shao
I think the problem is using BUFFEREVENT_SSL_OPEN. When you get the
connection, it *isn't* an open SSL connection, so you need to pass in
BUFFEREVENT_SSL_ACCEPTING.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.