Bert Belder
a379649899
Add handle->write_queue_size support for windows
2011-05-09 23:55:11 +02:00
Bert Belder
ad64eb4856
Windows: reorganize returned req processing
2011-05-09 16:59:21 +02:00
Bert Belder
8b09c88f1f
Windows: clarify and rename oio_atomic_exchange_set
2011-05-09 16:59:21 +02:00
Ryan Dahl
8f9ff78413
oio_err -> oio_err_t
2011-05-09 02:30:11 -07:00
Bert Belder
6eadee1d11
MinGW support for atomic-exchange-and-set-byte
2011-05-09 05:52:05 +02:00
Bert Belder
f56ddd3fa8
Implement oio_async for windows
2011-05-09 05:51:57 +02:00
Bert Belder
c5a29a1eaa
Windows: check for invalid request type
2011-05-09 05:50:58 +02:00
Bert Belder
09b9d39d14
Windows: cleanups, minor fixes
2011-05-09 02:12:25 +02:00
Ryan Dahl
ba31e8d0fa
Add _t to typedef structs
2011-05-08 02:40:39 -07:00
Bert Belder
5035f6851b
Windows: more readable oio_write signature
2011-05-08 05:20:30 +02:00
Bert Belder
7210f9106b
Windows: fix bugs
2011-05-08 03:28:28 +02:00
Bert Belder
6d8aa96ab6
Check/prepare/idle for windows. No tests yes, so bugs are likely.
2011-05-08 00:27:12 +02:00
Bert Belder
8caf485516
Windows: misc. fixes
2011-05-08 00:19:50 +02:00
Bert Belder
98cd0811cb
Windows: implement oio_ref and oio_unref
2011-05-08 00:19:50 +02:00
Bert Belder
bba0f79b32
Windows: make room for oio_handle polymorphism
2011-05-08 00:19:47 +02:00
Bert Belder
2d384f56d8
Windows: set error to EAGAIN when returning 0-byte read
2011-05-04 23:04:13 +02:00
Bert Belder
6a4ead0eac
Windows: clean up tcp endgame code, pass test-callback-stack
2011-05-04 20:51:54 +02:00
Bert Belder
51ced6c176
Remove some debugging cruft
2011-05-04 20:29:26 +02:00
Bert Belder
b87f07dee4
Windows: oio_shutdown kinda works
2011-05-04 04:00:17 +02:00
Bert Belder
773b0dcf79
Remove trailing whitespace
2011-05-04 00:41:49 +02:00
Bert Belder
2b07bc34ce
Windows: pass test-delayed-accept
2011-05-04 00:41:48 +02:00
Bert Belder
30d16e2dfd
Windows: pass test-bind-error-fault
2011-05-04 00:41:37 +02:00
Bert Belder
2267758153
oio_strerror for windows
2011-05-04 00:26:30 +02:00
Bert Belder
5a56c90af9
Windows implementation - buggy
2011-05-03 05:22:21 +02:00
Bert Belder
2047413488
Revert "Don't use SO_REUSEADDR on Windows."
...
This reverts commit c1a04b6dfd .
2011-04-26 03:19:49 +02:00
Bert Belder
c1a04b6dfd
Don't use SO_REUSEADDR on Windows.
...
It's semantics suck. See http://bugs.python.org/issue2550
2011-04-26 02:02:26 +02:00
Bert Belder
1d7d70ba4a
Add some error code mappings to oio-win
2011-04-26 02:01:59 +02:00
Bert Belder
c18d6649f8
Style
2011-04-22 05:09:58 +02:00
Bert Belder
c61b38f48b
Test for not immediately calling oio_accept from accept_cb
...
Closes #10 .
2011-04-22 00:46:31 +02:00
Bert Belder
2fdf161e61
Windows: better infrastructure for closing handles.
2011-04-21 17:20:33 +02:00
Alan Gutierrez
9468c6570a
Check oio_err in connection_fail test.
...
* Renamed test_connection_fail to connection_fail following the conventions.
* Mapped Windows error ERROR_CONNECTION_REFUSED to OIO_ECONNREFUSED.
* Asserting that the oio_err in connection_fail is OIO_ECONNREFUSED.
2011-04-21 18:44:59 +08:00
Bert Belder
183c1de112
Windows: use new error handling API
2011-04-20 22:34:20 +02:00
Bert Belder
67a3fa24dc
Revert "Remove oio_err - use ints"
...
This reverts commit 111536c9e5 .
2011-04-19 23:48:47 +02:00
Bert Belder
8a187171ed
Remove oio_write2.
...
Closes #20
2011-04-19 17:04:31 +02:00
Ryan Dahl
111536c9e5
Remove oio_err - use ints
2011-04-19 02:29:36 -07:00
Bert Belder
5275b036b0
Benchmark runner
2011-04-19 04:47:21 +02:00
Ryan Dahl
61e1f5f3c9
s/oio_tcp_handle_init/oio_tcp_init/
2011-04-18 13:01:50 -07:00
Ryan Dahl
8f6a175e9d
s/oio_tcp_handle_accept/oio_accept/
2011-04-18 12:53:02 -07:00
Ryan Dahl
cf4fbc0925
Add copyright headers, license file.
...
closes #17 .
2011-04-18 11:11:30 -07:00
Bert Belder
981616514b
More MinGW compatibility
2011-04-18 19:29:11 +02:00
Bert Belder
50e3c5fa97
Resolve MinGW compile errors
2011-04-18 18:08:36 +02:00
Bert Belder
0ffc8b6240
Timeout test passes on windows
2011-04-15 19:43:28 +02:00
Bert Belder
23416dd909
Consisten naming, declare functions static, line length
2011-04-12 23:33:11 +02:00
Bert Belder
34f69db83a
Windows: first shot at oio_timeout support
2011-04-12 20:39:14 +02:00
Bert Belder
abcfcd5573
Implicitly bind client socket in oio_connect
2011-04-10 18:54:19 +02:00
Bert Belder
11ee00f08c
Move oio_req_s and oio_handle_s back to oio.h; Windows improvements
2011-04-09 01:27:29 +02:00
Bert Belder
39d31a100f
ol -> oio
2011-04-07 11:12:18 +02:00