Commit Graph

396 Commits

Author SHA1 Message Date
Ben Noordhuis
e2b2df6d2b Fix alloc-after-close error, properly disarm uv_tcp_t handle. 2011-07-10 16:50:28 +02:00
Igor Zinkovsky
b6a6dae34f Named pipes implementation for Windows 2011-07-09 21:41:04 +02:00
Bert Belder
5aa8c005ec Windows: call shutdown before closesocket to ensure graceful disconnect 2011-07-09 21:31:48 +02:00
Ben Noordhuis
f7a3789ee7 Remove zero-length buffers from the write queue.
Zero-length buffers were written out but not removed,
so the write loop never terminated.

Fixes failing node.js test test/simple/test-http-1.0.js
2011-07-09 01:25:39 +02:00
Igor Zinkovsky
e147155821 fix in uv_insert_pending_req to work with multiple requests 2011-07-08 11:49:04 -07:00
Robert Mustacchi
ee599ec114 Fix Linux build 2011-07-07 23:55:58 -07:00
Robert Mustacchi
8287551b91 Fix SunOS build 2011-07-07 23:55:50 -07:00
Ryan Dahl
6d8c499e35 Don't export the private CPP symbols. 2011-07-07 22:38:41 -07:00
Ryan Dahl
18fa8c0ecd Move ev.h to include/ 2011-07-07 21:55:01 -07: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
Robert Mustacchi
786789490e Clean target missing prefix for object files 2011-07-07 21:39:07 -07:00
Robert Mustacchi
c946697e7c C89 compatibility.
This changes the libev constants to be the corresponding negative values.
Without this the header file is not valid ISO C 89. This fix makes the uv
header compile fine in a simple C 89 program.
2011-07-07 21:39:07 -07:00
Robert Mustacchi
341ecab2ef Remove extra dereference on hints 2011-07-07 21:39:07 -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
Ben Noordhuis
a74f339d17 Fix linux syscall detection. 2011-07-07 22:06:44 +02:00
Bert Belder
cb07847949 Remove obsolete file 2011-07-07 18:09:05 +02:00
Bert Belder
81bb15feed Change msvc projects, more sanity in ares build config on windows 2011-07-07 18:07:53 +02:00
Ryan Dahl
9518ab6594 Allow user to specify CC env var (CC=clang make) 2011-07-07 08:32:37 -07: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
Ben Noordhuis
2b2980e86a Detect availability of newish linux syscalls by kernel version. 2011-07-06 22:39:20 -07:00
Paul Querna
dc1d55dfec If we are only writing or reading a single iovec, use the non-v versions of the calls, so we are hitting the exact same syscalls as non-uv, and it makes dtruss output easier to read. 2011-07-06 21:23:06 -07:00
Henry Rawas
a4b05abce6 optional IPv6 for echo-server 2011-07-06 17:07:37 -07:00
Henry Rawas
afff934953 detect ipv6 support 2011-07-06 16:48:39 -07:00
Ben Noordhuis
9a5b47d915 uv_sleep() takes milliseconds, usleep() microseconds. Convert argument. 2011-07-06 13:53:01 -07:00
Ryan Dahl
66ef54efff unix: implement uv_connect6 2011-07-06 13:47:35 -07:00
Paul Querna
0bf38570e8 unix: Don't malloc for each write 2011-07-05 20:45:50 -07:00
Bert Belder
6c8d016fb4 Fix c-ares build with msvc 2011-07-06 04:07:00 +02:00
Bert Belder
49baaa4731 Add cygwin support
Fails a few tests
2011-07-06 02:54:47 +02:00
Henry Rawas
26880b0c90 win: IPv6 connect 2011-07-05 09:45:57 -07:00
Ryan Dahl
736dd8bfb3 Remove -Wno-variadic-macros
Helps #63.
Fixes #80.
2011-07-04 10:47:27 -07:00
Henry Rawas
ba1c38f2d8 fix mingw for eio 2011-07-01 10:58:29 -07:00
Ryan Dahl
35e1c62676 Fix hrtime on linux 2011-07-01 12:29:46 -04:00
Ben Noordhuis
09bd08ed97 Assert that uv_hrtime() actually sleeps for several microseconds. 2011-07-01 12:28:24 -04:00
Ryan Dahl
17ee7732c3 unix: All objects should be compiled with _LARGEFILE_SOURCE and _FILE_OFFSET_BITS=64
Fixes uv_getaddrinfo on linux
2011-07-01 11:52:54 -04:00
Ryan Dahl
0259b67db9 unix: Fix uv_getaddrinfo() 2011-07-01 08:10:18 -07:00
Ryan Dahl
8cd3d71229 fix linux build 2011-07-01 06:52:05 -07:00
Igor Zinkovsky
320057d588 uv_stream_t 2011-07-01 05:28:02 -07:00
Henry Rawas
9d84f92613 poll instead of ares timeout 2011-06-30 15:12:56 -07:00
Ryan Dahl
08809b2d04 unix: initial attempt at uv_getaddrinfo 2011-06-30 13:04:11 -07:00
Ryan Dahl
65b772a067 unix: remove unnecessary define 2011-06-30 12:04:22 -07:00
Ryan Dahl
bde908f565 unix: Include libeio 2011-06-30 11:43:17 -07:00
Ryan Dahl
39da51b20f Remove WIN32_LEAN_AND_MEAN 2011-06-29 19:50:49 +02:00
Henry Rawas
8fd916d6dd fix mingw build 2011-06-29 19:32:10 +02: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
5785961893 uv_ares utility methods put into new uv-common.c file 2011-06-28 18:53:09 +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
Ryan Dahl
ac005f0a04 Add Matt to the authors 2011-06-28 14:11:47 +02:00
Matt Stevens
caf1a99115 IPv6 support
Fixes #70.
Fixes #19.
2011-06-28 14:11:21 +02:00