Re: [Libevent-users] [PATCH] Add sample/https-client.c, an example of stacking evhttp as a client on top of bufferevent_ssl.

2013-02-27 Thread Jardel Weyrich
On Wed, Feb 27, 2013 at 11:13 PM, Patrick Pelletier wrote: > On 02/20/2013 07:26 PM, Jardel Weyrich wrote: > > There's X509_check_host for that, but I'm really not sure whether it's >> enough or not. >> > > Please correct me if I'm mistaken, b

Re: [Libevent-users] [PATCH] Add sample/https-client.c, an example of stacking evhttp as a client on top of bufferevent_ssl.

2013-02-20 Thread Jardel Weyrich
On Wed, Feb 20, 2013 at 9:03 PM, Nick Mathewson wrote: > On Wed, Feb 20, 2013 at 12:42 PM, Catalin Patulea > wrote: > > On Tue, Feb 19, 2013 at 9:40 PM, Jardel Weyrich > wrote: > >> 2) Call SSL_CTX_load_verify_locations passing the path of the CA > >&

Re: [Libevent-users] [PATCH] Add sample/https-client.c, an example of stacking evhttp as a client on top of bufferevent_ssl.

2013-02-19 Thread Jardel Weyrich
On Tue, Feb 19, 2013 at 7:07 PM, Catalin Patulea wrote: > On Tue, Feb 19, 2013 at 3:05 PM, Nick Mathewson > wrote: > >* It could sure use comments! > Can you be more specific? This all feels like a lot of boilerplate to > me. Parse the URL, initialize OpenSSL, create some bufferevents. I'm >

Re: [Libevent-users] Strange timeout scheduling in 1.4

2011-08-04 Thread Jardel Weyrich
The problem I see is that you can't assume system A would be faster with timing mechanism X, or system B with timing mechanism Z. This may vary from device to device. I believe this is not something that can be reliably solved without querying the actual system at runtime. See a) http://docs.redha

Re: [Libevent-users] message loop

2011-07-06 Thread Jardel Weyrich
The libevent book might help :) http://www.wangafu.net/~nickm/libevent-book/Ref3_eventloop.html On Wed, Jul 6, 2011 at 8:20 PM, mosta wrote: > On 07/06/11 22:32, Mark Ellzey wrote: > > On Wed, Jul 06, 2011 at 10:23:57PM +0200, mosta wrote: > >> That I run the main loop and call a function that h

Re: [Libevent-users] When 2.x will be stable?

2010-04-27 Thread Jardel Weyrich
Travis, Here's an answer Nick gave 2 weeks ago: archives.seul.org/libevent/users/Apr-2010/msg00015.html hth -- jardel On Tue, Apr 27, 2010 at 6:24 AM, TravisBickle < kak.serpom.po.yait...@gmail.com> wrote: > Hello, > > Please tell