On Wed, Feb 2, 2011 at 4:41 PM, Wayne Shao wrote:
> corrections:
> If I comment out the call bufferevent_openssl_filter_new(), then the client
> can finish handshake, but the server read/write callback not working.
> The code as above (i.e., with the bufferevent_openssl_filter_new() call)
> enters
corrections:
If I comment out the call bufferevent_openssl_filter_new(), then the client
can finish handshake, but the server read/write callback not working.
The code as above (i.e., with the bufferevent_openssl_filter_new() call)
enters an infinite loop (from the USE_DEBUG build).
[debug] even
I changed it to BUFFEREVENT_SSL_ACCEPTING. The read/write callbacks are
still not invoked.
Is there an example SSL server anywhere?
On Wed, Feb 2, 2011 at 12:44 PM, Nick Mathewson wrote:
> On Wed, Feb 2, 2011 at 2:27 PM, Wayne Shao wrote:
> > Hi,
> > I tried to setup an SSL server with libeven
On Wed, Feb 2, 2011 at 2:27 PM, Wayne Shao 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
co
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
The listener callback is as follows:
void listener_cb(struct evconnlistener *listener, evutil_socket_t fd,
struct sockaddr *