|
78d0de30
|
2007-12-06T18:38:50
|
|
Fix compile warnings and errors in win32 build.
svn:r575
|
|
1120f04f
|
2007-11-25T21:53:06
|
|
r16731@catbus: nickm | 2007-11-25 16:52:53 -0500
Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32.
svn:r552
|
|
7eb250e9
|
2007-11-25T17:14:19
|
|
r14939@tombo: nickm | 2007-11-25 11:59:26 -0500
New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions.
svn:r541
|
|
4e1ec3e0
|
2007-11-07T21:01:26
|
|
Make all the C files in the libraries compile under MSVC 2005 Express. There are still a few warnings, and probably some subtle issues, but it's better than nothing.
svn:r499
|
|
45c7ab25
|
2007-11-07T07:33:36
|
|
r16510@catbus: nickm | 2007-11-07 02:29:42 -0500
Try not to shadow local variables or function arguments.
svn:r498
|
|
7c507668
|
2007-11-07T03:52:20
|
|
r16489@catbus: nickm | 2007-11-06 22:51:05 -0500
Do not use "class" as identifier in evdns.h; but use a backward-compatible fix. (Should fix bug 1826515, originally reported by Roger Clark)
svn:r486
|
|
81802bf9
|
2007-11-06T20:57:37
|
|
r16473@catbus: nickm | 2007-11-06 15:55:35 -0500
Increment MAX_ADDRS in evdns so as to be quite large. This is not as good as a general solution, but it may be good enough for practical use.
svn:r479
|
|
8b256b8e
|
2007-09-20T18:26:51
|
|
r15218@catbus: nickm | 2007-09-20 14:14:05 -0400
More win32 fixes: Use evutil_make_socket_nonblocking and EVUTIL_CLOSESOCKET consistently throughout the code.
svn:r443
|
|
626cc5f9
|
2007-09-19T15:27:53
|
|
r15168@catbus: nickm | 2007-09-19 11:24:30 -0400
Add a new function to evdns to override the default transaction ID generation code.
svn:r440
|
|
82153e6e
|
2007-09-10T14:56:00
|
|
r15025@catbus: nickm | 2007-09-10 10:54:46 -0400
More DNS standard correctness changes: we preserve the CD flag,not the TC flag on responses. When we get a nonstandard query, we should say "NOTIMPL" rather than ignoring it.
svn:r428
|
|
8b392549
|
2007-09-10T14:55:55
|
|
r15024@catbus: nickm | 2007-09-10 10:49:15 -0400
Fix evdns_resolve_reverse_ipv6() so buffer is bug enough, and so the string ends with ".ip6.arpa" rather than "..ip6.arpa".
svn:r427
|
|
c396c767
|
2007-09-10T14:55:50
|
|
r15023@catbus: nickm | 2007-09-10 10:46:16 -0400
Add a missing begin-comment to the DNS_USE_OPENSSL_FOR_ID code in evdns.c.
svn:r426
|
|
fc1211ed
|
2007-09-10T01:37:57
|
|
fix another memory leak
svn:r424
|
|
7c66bf33
|
2007-09-10T01:30:11
|
|
fix a memory leak in the dns server; found by valgrind
svn:r422
|
|
3d2320b2
|
2007-08-19T17:25:52
|
|
r14697@catbus: nickm | 2007-08-19 13:24:39 -0400
Remove redundant typedef of socklen_t in evdns.c: On windows, it is already defined by autoconf in config.h.
svn:r398
|
|
7c6df310
|
2007-07-30T23:53:10
|
|
remove c++ comments from Jan Kneschke
svn:r373
|
|
f0ff792a
|
2007-06-30T18:58:34
|
|
fixes from Joerg Sonnenberger:
http.c is a violation of the ctype(3) interface and an unused function.
test/regress_http.c are incorrect format strings.
test/regress.c uses raise(3) from signal.h.
evdns.c: evdns_error_strings is unused. The GET* macros can eat the
semicolon from the expression. pos is passed in as off_t, so just pass
that down. When assigning negativ values to unsigned variables, an
explicit cast is considered good style.
svn:r367
|
|
f0d0559c
|
2007-05-28T21:21:59
|
|
allow DNS server to get access to the IP address for the requestor; from tor cvs via Nick Mathewson
svn:r362
|
|
5d3b6a83
|
2007-05-28T21:20:57
|
|
fail quicker on bad replies; from tor cvs via Nick Mathewson
svn:r361
|
|
d06ab856
|
2007-05-28T21:19:18
|
|
fix bug where req was freed and dereferenced afterwards; from tor cvs via Nick Mathewson
svn:r360
|
|
28246587
|
2007-05-28T21:17:35
|
|
treat SERVERFAILED as a timeout; from tor cvs via Nick Mathewson
svn:r359
|
|
5be24333
|
2007-05-28T21:09:00
|
|
solaris may return short reads on resolve.conf; fix from tor cvs via Nick Mathewson
svn:r358
|
|
d0111a29
|
2007-05-27T06:27:11
|
|
evdns_shutdown fix from Adam Langley
svn:r357
|
|
b5d2f9a2
|
2007-03-01T06:25:18
|
|
rolling back r339: evconfig.h does not work
svn:r341
|
|
127c260b
|
2007-02-28T04:02:29
|
|
make evconfig.h available as installed header file; not
really ideal but good enough for me; from Nick Mathewson
svn:r339
|
|
faf5f73a
|
2007-02-08T16:39:15
|
|
dns server support from Nick Mathewson; tiny tweaks
to the regression test from me to make it run on
systems where stack variables get initialized with
trash.
svn:r321
|
|
121efe65
|
2007-01-27T08:38:51
|
|
small bug fixes to AAAA resolution and regression test; from Nick Mathewson!
we love regresson tests.
svn:r319
|
|
78f2aa30
|
2007-01-27T04:27:59
|
|
Allow setting of more DNS options via API; from Nick Mathewson!!!
svn:r318
|
|
b776b2da
|
2007-01-27T04:25:46
|
|
dns name compression; from Nick Mathewson!!
svn:r317
|
|
5baf8ecf
|
2007-01-27T04:23:33
|
|
minor fixes; spelling corrections; compatibility from Nick Mathewson!
svn:r316
|
|
6318fca2
|
2007-01-27T04:22:36
|
|
AAAA support for DNS; from Nick Mathewson.
unfortunately, no regression test
svn:r315
|
|
b04043ae
|
2007-01-21T17:28:55
|
|
fix ddos in dns parsing due to infinite loop;
patch from Nick Mathewson; also received
notification from Jon Oberheide.
svn:r311
|
|
0147ef3a
|
2006-12-12T04:02:07
|
|
From Nick Mathewson:
This patch resets the successive timeout count to zero when:
- A nameserver comes up
- We receive a reply from a nameserver
- We decide to not use the nameserver for a while because of its
timeout count.
This patch also changes the timeout threshold from 3 to 5 seconds.
svn:r303
|
|
7fe5edf5
|
2006-12-02T21:25:21
|
|
use CLOCK_REALTIME when CLOCK_MONOTONIC is not available; from Phil Oleson
svn:r290
|
|
3882669d
|
2006-11-23T05:27:15
|
|
transaction id fixes from richard nyberg; return correct
error code when file for resolv.conf cannot be found.
svn:r276
|
|
868f10e7
|
2006-11-22T01:21:10
|
|
mingw fixes from Nick
svn:r271
|
|
ddf70659
|
2006-11-18T03:52:27
|
|
forgot ifdef guard around stdint.h
svn:r263
|
|
cf47f86b
|
2006-10-09T00:48:42
|
|
put the evdns documentation into the header file. pathetic start of evdns manpage. a little bit
more testing and debug output for the DNS regression test. add a BSD copyright to evdns.h with
appropriate explanations.
svn:r239
|
|
fe1dfe0f
|
2006-10-05T22:59:44
|
|
sync evdns changes with tor - from Nick Mathewson
svn:r238
|
|
e9c1e3f7
|
2006-08-28T00:57:49
|
|
introduce evdns_init() which works on windows and unix.
svn:r231
|
|
07c3fb50
|
2006-08-27T20:04:20
|
|
add a simple regression test for the DNS resolver; requires internet access.
do some KNF on evdns.c; add checks to prevent potential buffer overflows.
fix one memory leak.
svn:r230
|
|
52bfcab8
|
2006-08-24T06:10:50
|
|
rename eventdns to evdns to match libevent naming scheme
svn:r226
|
|
d0d8f9b4
|
2006-08-13T06:59:37
|
|
configure evdns and make it compile
svn:r225
|
|
cca7249e
|
2006-08-13T06:33:45
|
|
unmodified eventdns from Adam Langley via tor repository
svn:r224
|