6 Commits

Author SHA1 Message Date
Nick Mathewson
20f5bdfd6b Refactor evconnlistener to allow multiple implementations; add an (incomplete, not-yet-integrated) IOCP implementation.
svn:r1480
2009-10-29 19:25:33 +00:00
Nick Mathewson
75fe762e03 Accessor function to get a listener's associated fd
svn:r1390
2009-07-30 17:00:56 +00:00
Nick Mathewson
1ee65b7f94 Do not assume we know the value for FD_CLOEXEC.
svn:r1301
2009-05-21 20:59:17 +00:00
Nick Mathewson
7e3ea82ee6 Disallow backlog==0 in evconnlistener_new_bind().
svn:r1300
2009-05-21 20:59:09 +00:00
Nick Mathewson
ed1bbc7a9f Tweak the evconnlistener interface a little.
svn:r1295
2009-05-18 16:15:56 +00:00
Nick Mathewson
659d54d530 Add new code to make and accept connections.
This is stuff that it's easy to get wrong (as I noticed when writing
bench_http), and that takes up a fair amount of space (see http.c).
Also, it's something that we'll eventually want to abstract to use
IOCP, where available.

svn:r1272
2009-05-05 02:59:26 +00:00