Commit Graph

5491 Commits

Author SHA1 Message Date
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
26148c1310 No EACCESS, expect EADDRNOTAVAIL instead 2011-05-04 00:25:48 +02:00
Ryan Dahl
17c568b235 unix: fix tcp-writealot 2011-05-03 13:28:56 -07:00
Bert Belder
7124fc5eca Updated echo-server 2011-05-03 21:30:09 +02:00
Bert Belder
5a56c90af9 Windows implementation - buggy 2011-05-03 05:22:21 +02:00
Bert Belder
b909ff5fba Some test fixes 2011-05-03 05:22:21 +02:00
Ryan Dahl
d4289f47fc Update unix backend to read_start/read_stop API 2011-05-02 18:15:17 -07:00
Bert Belder
d553776f5d Fix echo-server and test-ping-pong 2011-05-03 02:55:51 +02:00
Bert Belder
6accf285db Fixed tests 2011-05-03 02:35:11 +02:00
Bert Belder
61c91120e5 Reorganize some stuff in oio.h 2011-05-03 02:01:59 +02:00
Bert Belder
1a76881cb0 Yet another oio_read api. Hopefully this one sticks. 2011-05-03 00:31:22 +02:00
Ryan Dahl
210bcdd49e New oio_read API 2011-04-30 13:42:13 -07:00
Ryan Dahl
5dbe9d622e Fix headers for ssize_t 2011-04-30 13:28:18 -07:00
Ryan Dahl
c1c57f3df2 Fix missing stddup def on unix 2011-04-30 13:28:14 -07:00
Ryan Dahl
8c6c48595a Make test runner better.
Probably screws up windows.
Fixes #30.
2011-04-28 15:19:11 -04:00
Joshua Peek
9b92e13721 Use _NSGetExecutablePath on darwin
Closes #26.
2011-04-28 01:18:00 +02:00
Ryan Dahl
40bb272a0c style 2011-04-26 11:43:09 -07:00
Ryan Dahl
9539443905 Partial implementation of buffer writes on unix.
Hitting callstack overflow problem in echo-server.
2011-04-26 11:38:20 -07:00
Ryan Dahl
b4836377f9 unix runner: implement timeout on process_wait 2011-04-25 21:54:17 -07:00
Ryan Dahl
1d9e1850f6 Linux passes bind tests 2011-04-25 20:08:56 -07:00
Bert Belder
a6430f4121 More bind error tests 2011-04-26 03:48:08 +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
Ryan Dahl
0a7c19e19e unix: implement errnos 2011-04-25 18:17:01 -07: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
c3cd1ae937 Add test for EADDRINUSE 2011-04-26 01:59:37 +02:00
Bert Belder
7e9e0e5e32 Test-ping-pong: don't bind client address 2011-04-25 23:20:08 +02:00
Bert Belder
89da632a19 Make test-tcp-writealot faster 2011-04-25 23:19:52 +02:00
Bert Belder
c48e753d98 Fix bug in test-timeout 2011-04-25 23:17:48 +02:00
Bert Belder
a5bf3988ee Write-a-lot test 2011-04-22 05:12:10 +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
Ryan Dahl
c19bbff4d1 Update AUTHORS 2011-04-21 09:23:18 -07: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
5bcbc31920 Tests / benchmarks use new error handling api 2011-04-20 22:34:21 +02:00
Bert Belder
183c1de112 Windows: use new error handling API 2011-04-20 22:34:20 +02:00
Bert Belder
97f9404ac0 Define oio_err earlier 2011-04-20 22:34:01 +02:00
Bert Belder
989a9cf70d Goodbye, solution items
Closes #25
2011-04-20 20:35:20 +02:00
Bert Belder
a4fb171087 oio_errno -> oio_err_code
`errno` can't be used as a struct member on windows.
2011-04-20 03:16:57 +02:00
Bert Belder
b6d4bf16a9 Finalize error handling api. Breaks unix and windows.
Closes #15
Closes #18
2011-04-20 02:47:49 +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
62a56d3fda Minor license update 2011-04-19 17:16:54 +02:00
Bert Belder
8a187171ed Remove oio_write2.
Closes #20
2011-04-19 17:04:31 +02:00
Bert Belder
64d27f26f6 Add unix files and documentation as non-compile items to the solution 2011-04-19 16:53:06 +02:00
Bert Belder
53f9d5a841 Allow tests and benchmarks to use the same helpers.
Closes #21.
2011-04-19 14:51:10 +02:00
Bert Belder
2f1150e680 Fix windows build. Test-connection-fails still fails. 2011-04-19 14:22:18 +02:00
Ryan Dahl
111536c9e5 Remove oio_err - use ints 2011-04-19 02:29:36 -07:00
Ryan Dahl
595756048c Linux passes test_connection_fail 2011-04-19 02:09:58 -07:00