summaryrefslogtreecommitdiff
path: root/buffer_iocp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix some build warnings on MSVC, mostly related to signed/unsigned comparisons.Nick Mathewson2009-11-051-1/+2
| | | | svn:r1510
* Commit ConnectEx code to get connect working with async bufferevents.Nick Mathewson2009-11-041-0/+11
| | | | | | | | This is code by Chris Davis, with changes to get the unit tests failing less aggressively. The unit tests for this code do not completely pass yet; Chris is looking into that. If they aren't passing by the next release, I'll turn off this code. svn:r1499
* Refactor IOCP callback interfaceNick Mathewson2009-11-021-2/+5
| | | | | | | | | | Chris Davis points out that GetQueuedCompletionStatus sometimes returns false not to report "No events for you!" but instead to report "An overlapped operation failed." Add a way to tell an event_overlapped that its operation failed. svn:r1490
* Use EVUTIL_ASSERT() consistently instead of assert.Nick Mathewson2009-10-261-4/+3
| | | | svn:r1464
* Various MSVC cleanups from Brodie Thiesfield.Nick Mathewson2009-07-281-0/+1
| | | | svn:r1385
* Use ev_ssize_t in place of ssize_t *everywhere*.Nick Mathewson2009-05-221-3/+3
| | | | svn:r1309
* Fix some small win32 build issues on trunk.Nick Mathewson2009-05-221-2/+1
| | | | svn:r1306
* Use the native "struct iovec" as our "struct evbuffer_iovec" when available, ↵Nick Mathewson2009-05-211-6/+1
| | | | | | so we do not need to copy more pointers than necessary. svn:r1299
* Replace reserve/commit with new iovec-based interface. Add a new evbuffer_peek.Nick Mathewson2009-05-191-14/+27
| | | | svn:r1296
* Add a "ctrl" mechanism to bufferevents for property access.Nick Mathewson2009-05-131-0/+6
| | | | | | | | | | | | OpenSSL uses something like this to implement get/set access for properties on its BIOs, so that it doesn't need to add a pair of get/set functions to the vtable struct for every new abstract property it provides an accessor for. Doing this lets us make bufferevent_setfd abstract, and implement an abstract bufferevent_getfd. svn:r1284
* Make unit tests for bufferevent_async compile and _almost_ work.Nick Mathewson2009-05-051-2/+2
| | | | | | Either I need to make the callbacks get deferred in a base with no events (doable), or I need to make it okay to call launch_read from inside the callback for read (tricky). svn:r1277
* Add missing include to buffer_iocp.cNick Mathewson2009-05-051-0/+1
| | | | svn:r1275
* Use fewer _compat.h headers in our own code.Nick Mathewson2009-05-021-1/+0
| | | | svn:r1268
* More msvc build tweaks.Nick Mathewson2009-05-011-7/+7
| | | | svn:r1262
* Get launch_read and launch_write to (apparently) work.Nick Mathewson2009-04-301-3/+11
| | | | svn:r1258
* Fix a reversed check in upcast_evbufferNick Mathewson2009-04-301-1/+1
| | | | svn:r1257
* Document many internal functions and pieces of code.Nick Mathewson2009-04-171-0/+48
| | | | svn:r1181
* Remove long copy-and-paste section full of windows api notes.Nick Mathewson2009-04-171-102/+0
| | | | svn:r1180
* Make buffer iocp stuff compile happilyNick Mathewson2009-04-141-24/+38
| | | | svn:r1174
* Add draft (nonworking) versions of iocp code to hack on more.Nick Mathewson2009-04-131-0/+334
svn:r1172