Re: [Libevent-users] API question: struct evkeyval

2011-08-10 Thread Mark Ellzey
On Wed, Aug 10, 2011 at 07:39:02PM +0400, Leonid Evdokimov wrote: > evhttp_parse_query and evhttp_parse_query_str require preallocated > struct evkeyvalq that has unstable ABI according to section 2.1 of > whatsnew-2.0.txt > > But these functions are placed in "stable ABI" header event2/http.h >

Re: [Libevent-users] The libevent-2.0.13-stable man pages

2011-08-10 Thread Nick Mathewson
On Mon, Aug 8, 2011 at 1:48 PM, Steve Dickson wrote: > Hello, > > It appears all the man pages that were under > doxygen/man/man3/ have disappeared in 2.0.13 tarball. > So how are man pages generated these days? Hi, Steve! It took me a while to figure out what you meant, since as far as I can te

[Libevent-users] API question: struct evkeyval

2011-08-10 Thread Leonid Evdokimov
evhttp_parse_query and evhttp_parse_query_str require preallocated struct evkeyvalq that has unstable ABI according to section 2.1 of whatsnew-2.0.txt But these functions are placed in "stable ABI" header event2/http.h Maybe, there these functions should be placed into _compat, _internal or somet

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

2011-08-10 Thread Leonid Evdokimov
On Wed, Aug 10, 2011 at 17:18, Mark Ellzey wrote: > On Wed, Aug 10, 2011 at 04:56:27PM +0400, Leonid Evdokimov wrote: >> +             } else if (reply && !reply->have_answer) { >> +                 error = DNS_ERR_NOANSWER; >> +             } else { >> +                 error = DNS_ERR_UNKNOWN; >

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

2011-08-10 Thread Mark Ellzey
On Wed, Aug 10, 2011 at 04:56:27PM +0400, Leonid Evdokimov wrote: > + } else if (reply && !reply->have_answer) { > + error = DNS_ERR_NOANSWER; > + } else { > + error = DNS_ERR_UNKNOWN; > } There is an odd edge-case in dns. DNS_E

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

2011-08-10 Thread Leonid Evdokimov
I'm sorry, 0002-Add-DNS_ERR_….patch had no error description and had too much typos per line. Here is correct patch. -- WBRBW, Leonid Evdokimov xmpp:l...@darkk.net.ru && http://darkk.net.ru tel:+79816800702 && tel:+79050965222 From eade47790a2ca423390565eee87bf69bd46ee1b1 Mon Sep 17 00:00:00 2001

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

2011-08-10 Thread Leonid Evdokimov
Hello, I think, that absence of DNS answers is probably not an "unknown error". There is at least one case when it is quite a valid result: "A" query for ""-only host. I would like to distinguish this case from unknown bits in error field of DNS reply, so here is the patch. Feel free to merge