325 Commits

Author SHA1 Message Date
Nick Mathewson
4b70286ef1 Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
	ChangeLog
	README
	evdns.c
	sample/dns-example.c
2012-05-02 17:12:23 -04:00
Nick Mathewson
cecb111bcd Start changelog for 2.0.19-stable 2012-05-02 17:09:11 -04:00
Nick Mathewson
d9a5515336 Increment the version to 2.1.1-alpha-dev 2012-04-03 20:30:54 -04:00
Nick Mathewson
88b4f0bb0d fix some typos in the 2.1 changelog 2012-04-03 17:26:25 -04:00
Nick Mathewson
2dedff36e1 Try to finalize changelog situation for 2.1.1-alpha 2012-04-03 16:50:54 -04:00
Nick Mathewson
4c7ee6b0c9 Add missing ) to changelog; spotted by rransom 2012-04-02 18:12:44 -04:00
Nick Mathewson
25a424fb8c Add an empty changelog section for 2.0.19-stable 2012-03-22 14:35:23 -04:00
Nick Mathewson
7734292652 Changelog for libevent 2.0.18-stable 2012-03-22 12:54:10 -04:00
Nick Mathewson
0c483170be Add an empty section to the changelog for 2.0.18-stable 2012-02-10 22:20:05 -05:00
Nick Mathewson
0cdbd642e3 Finalize the changelog 2012-02-10 18:36:10 -05:00
Nick Mathewson
6f6cebe356 Bring the changelog up to date 2012-02-06 21:18:25 -05:00
Nick Mathewson
edc6d7d7fa Start writing a changelog for 2.0.17-stable 2012-01-24 15:09:04 -05:00
Nick Mathewson
31c99bd28f Revise 2.0.16-stable changelog 2011-11-18 15:14:50 -05:00
Nick Mathewson
34045c8fd4 Add new entries to changelog, new credits to README 2011-11-15 17:22:12 -05:00
Nick Mathewson
c54c2358e5 Credit a patch from a one-named user 2011-10-12 00:39:22 -04:00
Nick Mathewson
7c3e06120b Add changelog for 2.0.15-stable 2011-10-12 00:16:12 -04:00
Nick Mathewson
a718b6c31c Increment version to 2.0.14-stable-dev 2011-08-31 11:25:11 -04:00
Nick Mathewson
da90a9be69 Pick a release date for the changelog 2011-08-30 22:35:51 -04:00
Nick Mathewson
85976ddfa4 Bump version to 2.0.14-stable 2011-08-30 22:28:02 -04:00
Nick Mathewson
6476d92d10 Checkpoint changelog entries for 2.0.14-stable 2011-08-29 13:40:03 -04:00
Nick Mathewson
62b8ce5877 acks and changelog for 2.0.13-stable 2011-07-18 17:05:20 -04:00
Nick Mathewson
60c1426f2c Bump version to 2.0.12-stable-dev 2011-06-04 21:36:34 -04:00
Nick Mathewson
452a8342f5 tweak date on changelog 2011-06-04 21:11:09 -04:00
Nick Mathewson
c355583750 Changelog and new credits for 2.0.12-stable 2011-06-03 17:08:30 -04:00
Nick Mathewson
d30466fc26 Changelog for 2.0.11-stable 2011-04-27 20:03:46 -04:00
Nick Mathewson
5a12d83597 Add changelog for 2.0.10-stable 2010-12-16 12:32:35 -05:00
Nick Mathewson
2b0b06d7a3 Increment version to 2.0.9-rc-dev 2010-11-30 02:19:25 -05:00
Nick Mathewson
ce46db99b9 Give the correct date for 2.0.9-rc in the changelog 2010-11-30 01:21:00 -05:00
Nick Mathewson
0c54f17605 Changelog and acknowledgments for 2.0.9-rc 2010-11-30 01:20:04 -05:00
Nick Mathewson
9dc5f44a19 Increment version in git to 2.0.8-rc-dev 2010-10-14 22:12:32 -04:00
Nick Mathewson
15be0493f6 Changelog and readme for 2.0.8-rc 2010-10-14 18:35:11 -04:00
Nick Mathewson
5811d74c6b Bump version to 2.0.7-rc-dev 2010-09-09 15:59:18 -04:00
Nick Mathewson
fe008ed656 Make all versioning changes for 2.0.7-rc, and add ChangeLog 2010-09-09 14:59:27 -04:00
Nick Mathewson
ff481a8e43 Increment vesion to 2.0.6-rc-dev 2010-08-06 23:22:01 -04:00
Nick Mathewson
f658264041 Changlog and new acknowledgements for 2.0.6-rc 2010-08-06 21:11:01 -04:00
Nick Mathewson
9cb5bc86a9 Bump version to 2.0.5-beta-dev 2010-05-10 14:51:32 -04:00
Nick Mathewson
f6aaf176d2 Add a changelog for 2.0.5-beta 2010-05-09 00:16:35 -04:00
Nick Mathewson
2cffd6c937 Bump version to 2.0.4-alpha-dev 2010-02-28 16:53:42 -05:00
Nick Mathewson
3a5cfb0d38 Add a changelog for 2.0.4-alpha from Git, sorted by hand 2010-02-28 16:44:14 -05:00
Nick Mathewson
94d00651f4 Add stub header for 2.0.4-alpha changelog. 2009-11-20 12:56:29 -05:00
Niels Provos
f169153956 Remove most calls to event_err() in http and deal with memory errors instead
svn:r1555
2009-11-19 23:08:50 +00:00
Niels Provos
986500de4d nick found a race condition in the pthreads test case
svn:r1554
2009-11-19 22:02:33 +00:00
Niels Provos
b8f222e055 On FreeBSD and other OSes, connect can return ECONREFUSED immediately; instead of failing the function call, pretend with faileld in the callback.
svn:r1553
2009-11-19 21:14:31 +00:00
Nick Mathewson
bdfe72f3c5 Documentation adjustments
svn:r1552
2009-11-19 00:21:48 +00:00
Nick Mathewson
86f5742015 Add two implementations of getaddrinfo: one blocking and one nonblocking.
The entry points are evutil_getaddrinfo and evdns_getaddrinfo respectively.
There are fairly extensive unit tests.

I believe this code conforms to RFC3493 pretty closely, but there are
probably more issues.  It should get tested on more platforms.

This code means we can dump the well-intentioned but weirdly-implemented
bufferevent_evdns and evutil_resolve code.

svn:r1537
2009-11-16 22:25:46 +00:00
Nick Mathewson
72bafc175a Remove the stupid brokenness where DNS option names needed to end with a
colon.

svn:r1536
2009-11-16 22:23:55 +00:00
Nick Mathewson
629a613398 When running set[ug]id, don't check the environment.
Idea from OpenBSD, but made a bit more generic to handle uncivilized lands
that do not define issetugid.

svn:r1530
2009-11-15 18:59:59 +00:00
Nick Mathewson
e2b2de79bf Use arc4random() for dns transaction ids where available. Patch taken from OpenBSD
svn:r1528
2009-11-15 18:59:48 +00:00
Nick Mathewson
74871cacb8 Change event_base.activequeues to "array of eventlist".
Previously, event_base.activequeues was of type "array of pointers to
eventlist."  This was pointless: none of the eventlists were allowed
to be NULL.  Worse, it was inefficient:

  - It made looking up an active event queue take two pointer
    deferences instead of one, thus risking extra cache misses.
  - It used more RAM than it needed to, because of the extra pointer
    and the malloc overhead.

Also, this patch fixes a bug where we were saying
calloc(N,N*sizeof(X)) instead of calloc(N,sizeof(X)) when allocating
activequeues.  That part, I'll backport.

Also, we warn and return -1 on failure to allocate activequeues,
rather than calling event_err.

svn:r1525
2009-11-09 19:37:27 +00:00
Nick Mathewson
37e23f806b Patch from Ryan Phillips: accept ipv6 addresses returned by getaddrinfo in http.c
svn:r1522
2009-11-09 18:50:20 +00:00