Bert Belder
|
036d5db16f
|
test-getsockname: minor cleanups
|
2011-07-13 16:39:54 +02:00 |
|
Henry Rawas
|
6a67b51b4c
|
fix uv_getsockname for listening socket
|
2011-07-12 22:43:43 +02:00 |
|
Henry Rawas
|
6b32ebc54f
|
uv_getsockname
|
2011-07-12 09:57:08 -07:00 |
|
Igor Zinkovsky
|
2e49cc56d1
|
Rename uv_pipe_create to uv_pipe_bind.
Fixes issue #97.
|
2011-07-11 15:24:35 -07:00 |
|
Igor Zinkovsky
|
b6a6dae34f
|
Named pipes implementation for Windows
|
2011-07-09 21:41:04 +02:00 |
|
Robert Mustacchi
|
8c00b369b4
|
C99 compatibility.
Get 99% of the way there for --std=c89 -pedantic for core files. Also cleans
up follow up warnings and others in tests.
|
2011-07-07 21:39:08 -07:00 |
|
Ben Noordhuis
|
1717d42165
|
read() and write() return ssize_t, not size_t.
rv < 0 error checks were always false.
|
2011-07-08 00:40:13 +02:00 |
|
Ryan Dahl
|
ce8ff3031c
|
src/ and include/ directories
Helps #71 but does not update the MSVC files.
|
2011-07-07 07:52:57 -07:00 |
|
Henry Rawas
|
a4b05abce6
|
optional IPv6 for echo-server
|
2011-07-06 17:07:37 -07:00 |
|
Ben Noordhuis
|
9a5b47d915
|
uv_sleep() takes milliseconds, usleep() microseconds. Convert argument.
|
2011-07-06 13:53:01 -07:00 |
|
Henry Rawas
|
26880b0c90
|
win: IPv6 connect
|
2011-07-05 09:45:57 -07:00 |
|
Ben Noordhuis
|
09bd08ed97
|
Assert that uv_hrtime() actually sleeps for several microseconds.
|
2011-07-01 12:28:24 -04:00 |
|
Igor Zinkovsky
|
320057d588
|
uv_stream_t
|
2011-07-01 05:28:02 -07:00 |
|
Ryan Dahl
|
5b7cfe4bd4
|
unbreak 'make bench'
|
2011-06-28 21:11:33 +02:00 |
|
Ryan Dahl
|
796621c773
|
Implement c-ares on unix.
|
2011-06-28 21:08:17 +02:00 |
|
Ryan Dahl
|
fa514948fc
|
Move around uv_hrtime in the header
|
2011-06-28 14:30:10 +02:00 |
|
Ryan Dahl
|
7b56134f73
|
Rename uv_get_hrtime, uv_get_exepath to uv_hrtime, uv_exepath
|
2011-06-28 14:26:28 +02:00 |
|
Matt Stevens
|
caf1a99115
|
IPv6 support
Fixes #70.
Fixes #19.
|
2011-06-28 14:11:21 +02:00 |
|
Bert Belder
|
8801925b41
|
Un-break the unix build
|
2011-06-25 17:47:46 +02:00 |
|
Bert Belder
|
21969b7a6f
|
benchmark-getaddrinfo: resolve more, use less concurrency
|
2011-06-25 17:47:39 +02:00 |
|
Bert Belder
|
16f471fa2e
|
Separate uv_getaddrinfo tests
|
2011-06-25 17:47:39 +02:00 |
|
Bert Belder
|
f04abc966a
|
Avoid type warnings in benchmark-sizes
|
2011-06-25 17:47:33 +02:00 |
|
Bert Belder
|
5115d446c6
|
Misc. cleanups
|
2011-06-25 17:38:35 +02:00 |
|
Henry Rawas
|
295fa6f538
|
Windows: getaddrinfo support
|
2011-06-23 01:31:17 +02:00 |
|
Ryan Dahl
|
af15cbe6e9
|
Handle EAGAIN in some of the read_cb tests
|
2011-06-22 18:37:51 +02:00 |
|
Henry Rawas
|
4aeee38484
|
c-ares integration on windows
|
2011-06-22 15:21:01 +02:00 |
|
Robert Mustacchi
|
6eefdaf966
|
Fixes #61. Failure in test-hrtime
|
2011-06-19 14:03:01 +02:00 |
|
Bert Belder
|
4eb06151bd
|
Split up uv_loop type
|
2011-06-17 23:00:39 +02:00 |
|
Bert Belder
|
debae03771
|
Declare variables first
|
2011-06-17 23:00:38 +02:00 |
|
Ryan Dahl
|
8218146a1c
|
uv_ip4_addr: Clear the struct sockaddr_in before using
|
2011-06-17 18:53:54 +02:00 |
|
Ryan Dahl
|
24baf36075
|
Add test for uv_get_hrtime
|
2011-06-17 11:47:35 +02:00 |
|
Ryan Dahl
|
2b5707d834
|
Correct uv_counter API
|
2011-06-12 15:55:17 +02:00 |
|
Ryan Dahl
|
aabe56b680
|
uv_tcp_init() must be called before uv_accept()
Windows broken.
|
2011-06-09 23:33:33 +02:00 |
|
Ryan Dahl
|
9400c3ffff
|
Add some counters for testing
|
2011-06-09 23:33:30 +02:00 |
|
Ryan Dahl
|
6d07c0d522
|
benchmarks should print helper output too
|
2011-06-09 19:45:19 +02:00 |
|
Ryan Dahl
|
b3863c8051
|
nread should have type ssize_t
|
2011-06-09 19:45:19 +02:00 |
|
Ryan Dahl
|
b2df6d9a99
|
Increase racy sleep to make some tests pass
|
2011-06-08 15:18:03 +02:00 |
|
Ryan Dahl
|
04b6aaeb44
|
API Change: Move close_cb to uv_close from init functions
|
2011-06-08 05:44:22 -07:00 |
|
Ryan Dahl
|
7db9629f87
|
API Change: Remove data parameters from init functions
|
2011-06-08 05:43:02 -07:00 |
|
Bert Belder
|
cfca30433f
|
API change: report accept errors to connection_cb
|
2011-06-07 18:11:43 +02:00 |
|
Bert Belder
|
fbd2d7a194
|
Misc. cleanups
|
2011-06-07 18:11:42 +02:00 |
|
Ryan Dahl
|
3ee60b7351
|
test runner separator should be paired with progress bar
|
2011-06-07 14:23:40 +02:00 |
|
Ryan Dahl
|
8a0742910c
|
accept_cb -> connection_cb
|
2011-06-07 14:12:25 +02:00 |
|
Bert Belder
|
aa59c81d60
|
Declare variables first please
|
2011-06-07 00:35:18 +02:00 |
|
Bert Belder
|
3d9b965aee
|
Whitespace error
|
2011-06-07 00:34:34 +02:00 |
|
Ryan Dahl
|
acbd168069
|
Add test to assert behavior of uv_tcp_t after shutdown
Handles should *never* call the close callback without the user having first
issued a uv_close() command.
This test is broken on windows. See #52.
|
2011-06-03 02:54:50 -07:00 |
|
Ryan Dahl
|
903c07bf98
|
API Change: uv_close only called by user - never automatically
Add test that failing on_connect callback does not trigger on_close.
|
2011-06-03 02:49:55 -07:00 |
|
Ryan Dahl
|
7770b1a1f6
|
API change: alloc_cb moved to uv_read_start()
Fixes #47.
|
2011-06-03 02:30:00 -07:00 |
|
Ryan Dahl
|
6b07791598
|
API Change: Pass sockaddr_in by value instead of reference
|
2011-06-03 02:19:35 -07:00 |
|
Ryan Dahl
|
11a4ad50c8
|
Separate out uv_handle_t into different types
Fixes #4
|
2011-06-03 11:03:52 +02:00 |
|
Bert Belder
|
d5b3ae0f58
|
usleep -> uv_sleep
|
2011-05-27 19:41:34 +02:00 |
|
Ryan Dahl
|
982a620f1c
|
Echo server gracefully dies on 'Q'
Allows for better clean up during tests.
|
2011-05-27 02:11:43 -07:00 |
|
Ryan Dahl
|
e28c0bb60b
|
unix: Use fork instead of vfork in runner.
|
2011-05-27 01:47:42 -07:00 |
|
Ryan Dahl
|
7e34b7bdfc
|
runner: insert little delay after starting helpers
|
2011-05-27 01:47:42 -07:00 |
|
Ryan Dahl
|
f0ebf0c7fc
|
Split pump bench into two processes.
And add a pump test with 1 client.
|
2011-05-27 01:32:48 -07:00 |
|
Igor Zinkovsky
|
9fc8a7f167
|
Adds uv_get_exepath API
Only works on Linux, Mac, Windows currently.
|
2011-05-24 08:40:27 -07:00 |
|
Bert Belder
|
d91b5012bd
|
Test the right thing
|
2011-05-23 23:56:57 +02:00 |
|
Ryan Dahl
|
40f0ad6d36
|
unix: fix ref count tests
|
2011-05-22 12:56:54 -07:00 |
|
Ryan Dahl
|
1352c72e35
|
Add reference count tests
Broken on UNIX.
|
2011-05-22 12:56:49 -07:00 |
|
Ryan Dahl
|
9c2dd6bea9
|
timer tests to work on unix
|
2011-05-18 22:23:17 -07:00 |
|
Ryan Dahl
|
103099e175
|
pump: connect to 127.0.0.1 instead of 0.0.0.0
|
2011-05-18 21:18:52 -07:00 |
|
Bert Belder
|
ccc2784153
|
Avoid printf type warning in test-timer-again
|
2011-05-19 02:28:50 +02:00 |
|
Bert Belder
|
0fa733e0ea
|
Forgot one assert in test-timer-again
|
2011-05-19 02:02:39 +02:00 |
|
Bert Belder
|
78c2930e25
|
Test for uv_timer_again ,~get_repeat, ~set_repeat
|
2011-05-19 01:58:07 +02:00 |
|
Ryan Dahl
|
452681fbe9
|
fix port conflict
|
2011-05-16 17:55:11 -07:00 |
|
Bert Belder
|
1676e4abcc
|
Please, declare vars at the top
|
2011-05-17 02:29:20 +02:00 |
|
Ryan Dahl
|
816289ae8f
|
unix: implement timers
currently loop_handles is broken.
|
2011-05-16 17:08:43 -07:00 |
|
Bert Belder
|
810651e04c
|
Update tests & benchmarks to use the new timer api
|
2011-05-17 01:17:48 +02:00 |
|
Ryan Dahl
|
2b8812ffe1
|
uv_buf -> uv_buf_t
|
2011-05-13 07:15:02 -07:00 |
|
Ryan Dahl
|
d2653df01b
|
Last but if oio renaming
|
2011-05-12 17:53:21 -07:00 |
|
Ryan Dahl
|
2ef3c6c632
|
oio -> uv
|
2011-05-11 20:21:49 -07:00 |
|
Ryan Dahl
|
1925a091d8
|
Only report read throughput from pump bench
Generally they are the same anyway...
|
2011-05-10 00:44:50 -07:00 |
|
Ryan Dahl
|
bf86b2e273
|
Run ping-pong bench for 5 secs
|
2011-05-10 00:42:18 -07:00 |
|
Ryan Dahl
|
2f4e65a1b2
|
Port to Solaris
|
2011-05-10 06:53:50 +00:00 |
|
Ryan Dahl
|
f0de01379f
|
Use argv[0] if we can't get_executable_path()
|
2011-05-09 23:12:44 -07:00 |
|
Ryan Dahl
|
9f652d4729
|
Benchmarks print their own name
|
2011-05-09 21:39:02 -07:00 |
|
Ryan Dahl
|
1b85c9f211
|
Parsable output from pump bench
|
2011-05-09 21:29:33 -07:00 |
|
Ryan Dahl
|
34f12fa5a5
|
Remove unnecessary printf
|
2011-05-09 19:40:31 -07:00 |
|
Bert Belder
|
3530433dd1
|
Memory leak in pump benchmark
|
2011-05-10 02:43:10 +02:00 |
|
Bert Belder
|
391f0098de
|
Loopback pump benchmark
|
2011-05-10 01:39:54 +02:00 |
|
Bert Belder
|
a379649899
|
Add handle->write_queue_size support for windows
|
2011-05-09 23:55:11 +02:00 |
|
Ryan Dahl
|
4eb2c6b3f2
|
Remove unnecessary function
|
2011-05-09 09:18:15 -07:00 |
|
Bert Belder
|
820c942e3a
|
Make MS happy, declare variables first
|
2011-05-09 16:59:20 +02:00 |
|
Ryan Dahl
|
8f9ff78413
|
oio_err -> oio_err_t
|
2011-05-09 02:30:11 -07:00 |
|
Ryan Dahl
|
f71ea7f65d
|
Fix compiler warning
|
2011-05-09 02:27:26 -07:00 |
|
Ryan Dahl
|
cc72a0d1ed
|
unix: implement OIO_ASYNC
Had to hack up the test to be inline with how libev does things.
|
2011-05-09 02:25:03 -07:00 |
|
Ryan Dahl
|
67118c0b58
|
unix: initial implementation of prepare, check, idle
Had to comment out a few of the asserts in the test.
|
2011-05-09 01:02:06 -07:00 |
|
Ryan Dahl
|
9e9bae5eb6
|
unix: Stub out async and thread functions
|
2011-05-08 22:47:51 -07:00 |
|
Bert Belder
|
b1a8675ced
|
Add test-async
|
2011-05-09 05:52:05 +02:00 |
|
Bert Belder
|
801b874415
|
Implement test threading helpers for windows
|
2011-05-09 05:52:04 +02:00 |
|
Bert Belder
|
d4c5e599f3
|
Define API for test threading helpers
|
2011-05-09 05:52:04 +02:00 |
|
Bert Belder
|
517a296c85
|
Add checks to test-loop-handles
|
2011-05-09 05:41:12 +02:00 |
|
Ryan Dahl
|
ba31e8d0fa
|
Add _t to typedef structs
|
2011-05-08 02:40:39 -07:00 |
|
Bert Belder
|
5a5b435c5e
|
Minor test-loop-handles fix
|
2011-05-08 05:08:31 +02:00 |
|
Bert Belder
|
e0be8efef6
|
Test for oio_prepare/oio_check/oio_idle
|
2011-05-08 04:45:56 +02:00 |
|
Ryan Dahl
|
5591ed9d74
|
Replace dummy benchmark with sizeof(oio_handle)
|
2011-05-07 19:32:51 -07:00 |
|
Bert Belder
|
850e4072e7
|
tests & benchmarks - make internal stuff static
|
2011-05-08 03:28:28 +02:00 |
|
Ryan Dahl
|
8e1645b85f
|
LF after tests complete
|
2011-05-05 00:21:13 -07:00 |
|
Ryan Dahl
|
e9dcf598cc
|
unix: Close on EOF if already shutdown
|
2011-05-04 15:36:40 -07:00 |
|
Bert Belder
|
636c75e0b6
|
Update ping-pongs benchmark to use the new api
|
2011-05-04 23:25:44 +02:00 |
|