Re: [Libevent-users] https support within libevent

2011-08-30 Thread Graham Leggett
On 30 Aug 2011, at 11:54 PM, Nick Mathewson wrote: Folks have submitted patches, and I commented on the patches to suggest revisions, and they never revised. I can try to look more closely in the future. I did find this mentioned previously: http://sourceforge.net/tracker/?func=detail&aid=303

Re: [Libevent-users] https support within libevent

2011-08-30 Thread Nick Mathewson
On Tue, Aug 30, 2011 at 5:39 PM, Mark Ellzey wrote: > On Tue, Aug 30, 2011 at 09:56:01PM +0200, Graham Leggett wrote: >> Hi all, >> >> I have seen mention of support for https from within libevent, but >> I'm struggling to find details of where to find it. Is there any >> example code anywhere to

Re: [Libevent-users] https support within libevent

2011-08-30 Thread Mark Ellzey
On Tue, Aug 30, 2011 at 09:56:01PM +0200, Graham Leggett wrote: > Hi all, > > I have seen mention of support for https from within libevent, but > I'm struggling to find details of where to find it. Is there any > example code anywhere to show how one might support such a thing? > There is no di

[Libevent-users] https support within libevent

2011-08-30 Thread Graham Leggett
Hi all, I have seen mention of support for https from within libevent, but I'm struggling to find details of where to find it. Is there any example code anywhere to show how one might support such a thing? Regards, Graham -- *

Re: [Libevent-users] Mixing ssl bufferevents with normal events

2011-08-30 Thread Nick Mathewson
On Tue, Aug 30, 2011 at 2:09 PM, Jack Scott Dorr wrote: > I have a libevent based server that used to use a custom ssl wrapper to > handle ssl traffic. This server takes ssl traffic on one end and speaks > non-crypto on the other end. > > For a variety of reasons, the switch was made to use the

[Libevent-users] Mixing ssl bufferevents with normal events

2011-08-30 Thread Jack Scott Dorr
I have a libevent based server that used to use a custom ssl wrapper to handle ssl traffic. This server takes ssl traffic on one end and speaks non-crypto on the other end. For a variety of reasons, the switch was made to use the built in ssl bufferevents to handle the ssl portion. The non-cryp

Re: [Libevent-users] Possible to use libevent to handle SIGTERM and SIGQUIT

2011-08-30 Thread Kun Xi
Yes, I just found out that I need to call event_add before start the message pump. Thanks. Kun On Tue, Aug 30, 2011 at 10:50 AM, Nick Mathewson wrote: > On Tue, Aug 30, 2011 at 1:46 PM, Kun Xi wrote: >> Hello, >> >> I just wondered whether libevent event loop can handle the SIGTERM and >> SIGQU

Re: [Libevent-users] Possible to use libevent to handle SIGTERM and SIGQUIT

2011-08-30 Thread Nick Mathewson
On Tue, Aug 30, 2011 at 1:46 PM, Kun Xi wrote: > Hello, > > I just wondered whether libevent event loop can handle the SIGTERM and > SIGQUIT appropriately.  Here is the code snippet I am trying to exit > the message loop gracefully and brutally: > > static void quick_shutdown(evutil_socket_t _, sh

[Libevent-users] Possible to use libevent to handle SIGTERM and SIGQUIT

2011-08-30 Thread Kun Xi
Hello, I just wondered whether libevent event loop can handle the SIGTERM and SIGQUIT appropriately. Here is the code snippet I am trying to exit the message loop gracefully and brutally: static void quick_shutdown(evutil_socket_t _, short what, void* ctx) { struct event_base *evb = (struct

Re: [Libevent-users] Re: [PATCH]: libevent/dns DNS_ERR_NOANSWERS

2011-08-30 Thread Leonid Evdokimov
> There is an odd edge-case in dns. DNS_ERR_NOANSWER isn't actually a > great name. By the way, RFC 2308 (Negative Caching of DNS Queries (DNS NCACHE)) calls this case NODATA. Is DNS_ERR_NODATA better name from your point of view? -- WBRBW, Leonid Evdokimov xmpp:l...@darkk.net.ru && http://darkk