Commit Graph

310 Commits

Author SHA1 Message Date
Henry Rawas
a9838a1cbb Land c-ares in libuv 2011-06-15 00:16:26 +02:00
Bert Belder
0a73e714ce Correct ssize_t detection 2011-06-14 20:28:09 +02:00
Ryan Dahl
2ec77b363b Add docs about calling uv_accept 2011-06-14 11:58:04 +02:00
Bert Belder
ff8485ac11 Add Ben to AUTHORS 2011-06-13 12:31:03 -07:00
Ben Noordhuis
043d3860d9 Silence g++ warning type qualifiers ignored on function return type.
Closes #54
2011-06-13 21:24:54 +02:00
Ryan Dahl
2b5707d834 Correct uv_counter API 2011-06-12 15:55:17 +02:00
Bert Belder
3b3df30374 Windows: uv_tcp_init before uv_accept 2011-06-12 14:53:07 +02:00
Bert Belder
ebc73022f8 Define ssize_t if necessary 2011-06-12 14:52:20 +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
Bert Belder
b168bd1f70 Windows: do not report read/listen errors after uv_close 2011-06-08 22:06:12 +02:00
Bert Belder
4809de9cf2 Misc. cleanups 2011-06-08 22:06:11 +02:00
Bert Belder
9b1123b219 Use proper types instead of void pointers to store loop callbacks 2011-06-08 22:06:10 +02:00
Bert Belder
cd6ceb0ef4 Spaces, no tabs please 2011-06-08 22:06:09 +02:00
Ryan Dahl
b2df6d9a99 Increase racy sleep to make some tests pass 2011-06-08 15:18:03 +02:00
Ryan Dahl
e04cc71e1a Remove EV_MULTIPLICITY=0 for ease of use 2011-06-08 15:13:02 +02:00
Ryan Dahl
2323b31856 Remove -pedantic flag for now (too annoying) 2011-06-08 14:56:42 +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
e58a1abff0 Refactor request handling on Windows
- keep a list of completed reqs to be returned.
- do not implicitly close a socket after error or eof+shutdown.
2011-06-07 18:11:43 +02: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
Ryan Dahl
a7494416e9 Add -Wno-variadic-macros as it's apparently okay in MSVC 2011-06-07 10:06:12 +02:00
Ryan Dahl
a1b9be16ca Use -pedantic flag to avoid breaking Windows build 2011-06-07 10:02:08 +02:00
Bert Belder
ed623b3a71 Add test-shutdown-eof to msvc project 2011-06-07 00:44:26 +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
Vanilla Hsu
fb5262abdc Support FreeBSD 2011-06-03 06:46:16 +02:00
Ryan Dahl
ee712eba36 more desired api 2011-05-28 18:52:33 -07:00
Ryan Dahl
5be0fe2168 more desired api 2011-05-28 16:06:29 -07:00
Ryan Dahl
55de5e3242 improve design doc 2011-05-28 15:40:10 -07:00
Ryan Dahl
18f54bef31 Add doc on desired-api 2011-05-28 01:47:47 -07:00
Bert Belder
be1bfe6c4c Revert AUTHORS update
This reverts commit 9467a92390.
2011-05-27 22:04:14 +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
Ryan Dahl
e3923b76b4 UNIX: Bad was_active check in uv_check_start() 2011-05-26 22:50:38 -07:00
Bert Belder
143a09a33d Move variable declarations to top 2011-05-26 02:09:18 +02:00
Bert Belder
9467a92390 Add Igor to AUTHORS 2011-05-24 14:34:55 -07:00