Nick Mathewson
4c36411174
Fix compilation of 1.4 branch on win32
...
svn:r1370
2009-07-21 18:57:38 +00:00
Nick Mathewson
2bdf307794
[Backport] Do not define _FORTIFY_SOURCE if the platform GCC already defined it for us.
...
svn:r1345
2009-07-14 19:31:11 +00:00
Nick Mathewson
a763e7416c
The truncated bit is in the 3rd byte of a dns reply, not the 4th.
...
svn:r1331
2009-06-30 14:20:44 +00:00
Nick Mathewson
763391947c
Let evdns keep working when our IP changes. Fix by Christopher Davis; backported by nickm.
...
svn:r1328
2009-06-24 22:39:12 +00:00
Nick Mathewson
9d0f6eb4e2
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
2009-05-22 18:32:09 +00:00
Nick Mathewson
4cf8138b8f
Make evdns_resolve_reverse args const.
...
svn:r1094
2009-02-02 19:20:49 +00:00
Niels Provos
bc465d0a80
from trunk: Match the query in DNS replies to the query in the request; from Vsevolod Stakhov
...
svn:r932
2008-08-30 23:24:25 +00:00
Niels Provos
1b40a378d1
from trunk: fix cname replies
...
svn:r908
2008-07-13 20:20:10 +00:00
Niels Provos
537e122101
from trunk: detect CLOCK_MONOTONIC at runtime for evdns
...
svn:r897
2008-07-02 04:41:11 +00:00
Niels Provos
130a8a1308
switch all uses of [v]snprintf to evutil
...
svn:r889
2008-06-28 01:47:01 +00:00
Nick Mathewson
ff6cbd06cf
r19654@catbus: nickm | 2008-05-08 10:12:53 -0400
...
Remove #include "misc.h"s.
svn:r794
2008-05-08 14:19:34 +00:00
Nick Mathewson
987597ff0f
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
2008-05-08 14:08:12 +00:00
Niels Provos
937230a8bd
from trunk: do not delete uninitialized timeout event in evdns
...
svn:r698
2008-03-31 00:34:58 +00:00
Nick Mathewson
3a285c5bcb
r18374@catbus: nickm | 2008-02-23 14:16:20 -0500
...
Improved integer handling on platforms without stdint. Backported.
svn:r657
2008-02-23 19:18:47 +00:00
Niels Provos
8b116c762b
from trunk: remove NDEBUG ifdefs from evdns.c
...
svn:r648
2008-02-17 01:35:24 +00:00
Nick Mathewson
163c37b628
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
2007-12-20 22:09:37 +00:00
Nick Mathewson
c7bc1f10cf
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
2007-12-16 18:55:47 +00:00
Niels Provos
6b4342db67
copy trunk to 1.4
...
svn:r512
2007-11-12 02:37:25 +00:00