kc3-lang/libevent

Branch :


Log

Author Commit Date CI Message
f1691539 2009-11-19 23:08:50 Remove most calls to event_err() in http and deal with memory errors instead svn:r1555
986500de 2009-11-19 22:02:33 nick found a race condition in the pthreads test case svn:r1554
b8f222e0 2009-11-19 21:14:31 On FreeBSD and other OSes, connect can return ECONREFUSED immediately; instead of failing the function call, pretend with faileld in the callback. svn:r1553
bdfe72f3 2009-11-19 00:21:48 Documentation adjustments svn:r1552
7511b6a9 2009-11-19 00:21:38 Fix a spelling error and remove some dead code svn:r1551
f070a4ae 2009-11-18 23:18:55 Do the proper hack for the (Open)BSD getaddrinfo quirk. From evutil.c: Some older BSDs (like OpenBSD up to 4.6) used to believe that giving a numeric port without giving an ai_socktype was verboten. We test for this so we can apply an appropriate workaround. If it turns out that the bug is present, then: - If nodename==NULL and servname is numeric, we build an answer ourselves using evutil_getaddrinfo_common(). - If nodename!=NULL and servname is numeric, then we set servname=NULL when calling getaddrinfo, and post-process the result to set the ports on it. We test for this bug at runtime, since otherwise we can't have the same binary run on multiple BSD versions. svn:r1550
07ce7f99 2009-11-18 21:17:00 Make our failing-connection bufferevent test more tolerant. I thought we had a way to do connect() that would never fail immediately, but always wait for a moment before failing. It turns out that on FreeBSD it can fail immediately. This is not FreeBSD's fault, or even a real bug anywhere but in the unit test. svn:r1549
cf749e22 2009-11-18 21:16:53 Add a temporary workaround for an ssl bug found on FreeBSD. Basically, we only want to report the 'connected' event because of the socket connect() finishing when we have an actual socket bufferevent; on an SSL bufferevent, 'connected' means 'SSL connection finished.' This isn't FreeBSD's fault: it just has a connect() that tends to succeed pretty early. svn:r1548
9bf124bf 2009-11-18 21:16:47 Build correctly with mm replacement turned off. svn:r1547
767eb70f 2009-11-18 21:16:33 Fix compilation with threading disabled. svn:r1546