evdns.c


Log

Author Commit Date CI Message
Nick Mathewson e50ba5b6 2010-11-19T12:37:49 Fix a bug that could allow dns requests with duplicate tx ids Spotted by Marko Kreen
Nick Mathewson 44f04a2b 2010-08-19T09:36:33 Replace unused case of FD_CLOSEONEXEC with a proper null statement.
Ralf Schmitt 9985231e 2010-08-18T11:51:30 set close-on-exec bit for filedescriptors created by dns subsystem
Brodie Thiesfield bce58d61 2010-02-03T23:27:40 Make Libevent 1.4.12 build on win32 with Unicode enabled. This patch fixes calls to the win32 api to explicitly call the char* versions of the functions. This fixes build failures when libevent is built with the UNICODE define.
Yasuoka Masahiko 5b10d008 2009-12-04T10:44:46 Fix a crash when reading badly formatted resolve.conf Based on patch from Yasuoka Masahiko, backported to 1.4.
Nick Mathewson 4c364111 2009-07-21T18:57:38 Fix compilation of 1.4 branch on win32 svn:r1370
Nick Mathewson 2bdf3077 2009-07-14T19:31:11 [Backport] Do not define _FORTIFY_SOURCE if the platform GCC already defined it for us. svn:r1345
Nick Mathewson a763e741 2009-06-30T14:20:44 The truncated bit is in the 3rd byte of a dns reply, not the 4th. svn:r1331
Nick Mathewson 76339194 2009-06-24T22:39:12 Let evdns keep working when our IP changes. Fix by Christopher Davis; backported by nickm. svn:r1328
Nick Mathewson 9d0f6eb4 2009-05-22T18:32:09 Fix a potentially very annoying evdns bug that we found in Tor. Generally speaking, it way better to event_assign() an event when you allocate it than to assign it before every time you event_add it: if it is already event_add()ed, the assign will mess it up so that it doesn't _look_ added, and event_add() will insert a second copy. Later, event_del() will only delete the second copy. Eventually, the event_base will have a dangling pointer to freed memory. Ouch! svn:r1308
Nick Mathewson 4cf8138b 2009-02-02T19:20:49 Make evdns_resolve_reverse args const. svn:r1094
Niels Provos bc465d0a 2008-08-30T23:24:25 from trunk: Match the query in DNS replies to the query in the request; from Vsevolod Stakhov svn:r932
Niels Provos 1b40a378 2008-07-13T20:20:10 from trunk: fix cname replies svn:r908
Niels Provos 537e1221 2008-07-02T04:41:11 from trunk: detect CLOCK_MONOTONIC at runtime for evdns svn:r897
Niels Provos 130a8a13 2008-06-28T01:47:01 switch all uses of [v]snprintf to evutil svn:r889
Nick Mathewson ff6cbd06 2008-05-08T14:19:34 r19654@catbus: nickm | 2008-05-08 10:12:53 -0400 Remove #include "misc.h"s. svn:r794
Nick Mathewson 987597ff 2008-05-08T14:08:12 r19651@catbus: nickm | 2008-05-08 10:05:35 -0400 Replace gettimeofday() usage with a new evutil_gettimeofday(). This removes all previous need for win32-code/misc.[ch] svn:r793
Niels Provos 937230a8 2008-03-31T00:34:58 from trunk: do not delete uninitialized timeout event in evdns svn:r698
Nick Mathewson 3a285c5b 2008-02-23T19:18:47 r18374@catbus: nickm | 2008-02-23 14:16:20 -0500 Improved integer handling on platforms without stdint. Backported. svn:r657
Niels Provos 8b116c76 2008-02-17T01:35:24 from trunk: remove NDEBUG ifdefs from evdns.c svn:r648
Nick Mathewson 163c37b6 2007-12-20T22:09:37 r17289@catbus: nickm | 2007-12-20 17:09:04 -0500 Backport win32 changes in r574 through r576: make win32 backend n lg n instead of n^2. svn:r606
Nick Mathewson c7bc1f10 2007-12-16T18:55:47 r15520@tombo: nickm | 2007-12-16 13:54:22 -0500 Fix for bug 1846282: accept as well-formed DNS replies with questions but no answers. [Backport to 1.4] svn:r596
Niels Provos 6b4342db 2007-11-12T02:37:25 copy trunk to 1.4 svn:r512