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
Thanks Nick, I'll check again myself in the source.
Marco
On Wed, Feb 2, 2011 at 9:49 AM, Nick Mathewson wrote:
> On Mon, Jan 31, 2011 at 12:42 PM, Marco wrote:
> > Hi everyone, simple question..
> >
> > 2 threads, T1 is in the event loop, T2 does some other things.
> > Assume that I have a sa
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 *
On Mon, Jan 31, 2011 at 12:42 PM, Marco wrote:
> Hi everyone, simple question..
>
> 2 threads, T1 is in the event loop, T2 does some other things.
> Assume that I have a safe way of communicating between T1 and T2.
>
> I'm planning to use T2 to create http requests objects and then give them to
>