Commit Graph

199 Commits

Author SHA1 Message Date
Ben Noordhuis
0ba44cfd4e ev: improve feature detection on linux 2011-08-30 12:49:48 +02:00
Jeroen Janssen
2af955dbf4 Fix posix dirent usage
Fixes #161
2011-08-30 03:16:03 -07:00
Ryan Dahl
ca1171132e win: stub out missing uv_fs functions 2011-08-30 01:53:24 -07:00
Ryan Dahl
a6ed1757ab unix: implement uv_fs_lstat 2011-08-30 01:32:53 -07:00
Ryan Dahl
894c005c42 unix: fix fs_async_sendfile 2011-08-30 00:52:43 -07:00
Ryan Dahl
1a4ead53d6 unix: implement uv_queue_work 2011-08-29 22:57:34 -07:00
Ryan Dahl
0e81406bfb unix fs_async_dir works 2011-08-29 22:08:51 -07:00
Ryan Dahl
5d524fff1a unix passes test fs_file_async 2011-08-29 20:41:45 -07:00
Jorge Chamorro Bieling
cbbb254e57 Fix for joyent/node#1506, OSX threaded write()s bug 2011-08-29 15:21:11 -07:00
Ryan Dahl
3be275bad7 Begin implementation of UNIX uv_fs_ functions
Adding this incomplete work now to ease rebase troubles later as it moves
the functions to src/unix/fs.c and introduces src/unix/internal.h.
2011-08-29 14:36:45 -07:00
Igor Zinkovsky
925564e968 windows: improve error handling for fs functions 2011-08-27 13:59:34 -07:00
Igor Zinkovsky
3ea037ccb0 windows: free fs arguments inside uv_fs_req_cleanup 2011-08-26 18:11:31 -07:00
Ryan Dahl
7cad73aa47 Fix build for UNIX 2011-08-26 11:26:24 -07:00
Igor Zinkovsky
25175c7071 uv_fs & uv_work APIs 2011-08-26 11:00:53 -07:00
Clifford Heath
835782a980 eio: Mac OSX 10.5 (Leopard) does not have fdatasync 2011-08-26 18:08:42 +02:00
Bert Belder
39aac4a5fc win: better shutdown for pipes 2011-08-26 02:21:33 +02:00
Bert Belder
27c52a6034 win: stop reading on tcp receive error 2011-08-26 02:21:32 +02:00
Ben Noordhuis
6490c6a38e unix: improve accept4 syscall feature check 2011-08-26 00:16:07 +02:00
Ryan Dahl
40efa9c731 win: Fix uv_getsockname for UDP 2011-08-24 17:40:35 -07:00
Bert Belder
1f28f81236 Fix mingw missing IPV6_V6ONLY 2011-08-24 15:38:51 +02:00
Bert Belder
1870c18f3c win: change uv_getsockname signature to support udp 2011-08-24 04:55:08 +02:00
Bert Belder
5c9d749a57 win: udp support 2011-08-24 04:55:08 +02:00
Ben Noordhuis
36ce74f2ca Add UDP support to libuv. 2011-08-24 04:55:01 +02:00
Ben Noordhuis
52024061e4 Make uv_getsockname() operate on uv_handle_t handles. 2011-08-24 04:17:36 +02:00
Bert Belder
5cae6e4e57 win: use uv_req_t.overlapped.Internal field to propagate request errors 2011-08-23 21:24:14 +02:00
Bert Belder
811828719f win: store the tcp deferred bind error in uv_tcp_t.bind_error, remove uv_handle_t.error 2011-08-23 20:41:16 +02:00
Bert Belder
b931e93c3f win: get rid of deferring bind errors for uv_pipe_t
It doesn't work anyway
2011-08-23 20:41:15 +02:00
Bert Belder
a8d2613ba0 win: integrate uv_close_error into uv_close 2011-08-23 20:41:15 +02:00
Bert Belder
6622c35bc4 win: add ntstatus-to-winsock-error mapping 2011-08-23 20:41:14 +02:00
Bert Belder
301d9283ee trailing whitespace 2011-08-23 20:41:07 +02:00
Ryan Dahl
ce9171d41f unix: uv_read_start should fail if UV_CLOSING set 2011-08-22 19:29:08 -07:00
Ryan Dahl
bdd880e7fc unix: add a few asserts, cosmetic touch ups 2011-08-22 19:29:08 -07:00
Igor Zinkovsky
4e9edceb98 windows: temporarily disable non-zero reads 2011-08-22 15:59:44 -07:00
Jeroen Janssen
ce207917fd remove unused variable
Fixes #151
2011-08-22 10:50:29 -07:00
Bert Belder
062af9fea8 win: fix buffer leak when using non-zero tcp reads 2011-08-21 21:47:34 +02:00
Bert Belder
beaa676184 win: rename UV_HANDLE_TCP_ZERO_READ to UV_HANDLE_ZERO_READ 2011-08-21 21:47:28 +02:00
Bert Belder
e45284dd4a win: prototype ordering 2011-08-21 21:46:50 +02:00
Bert Belder
d1a63c4003 win: move winsock intialization out of tcp.c 2011-08-21 21:46:40 +02:00
Bert Belder
48a8f1959a win: merge kernel32.h and ntdll.h; declare pointers in winapi.h 2011-08-21 21:46:20 +02:00
Bert Belder
cc0b0e6238 Remove trailing whitespace 2011-08-21 21:46:05 +02:00
Igor Zinkovsky
8448ee4bf6 Windows: Do simultaneous pending AcceptEx calls. 2011-08-18 17:45:59 -07:00
Igor Zinkovsky
56b09db2ed windows: set accept socket to INVALID_SOCKET in case of accept failure 2011-08-18 12:19:34 -07:00
Bert Belder
8ed2ffb2bf Windows: when searching path, look only for .com and .exe files 2011-08-18 04:08:27 +02:00
Igor Zinkovsky
422c139306 Windows: Pre-allocate buffers for overlapped WSARecv if the number of active tcp streams is below 50. 2011-08-17 17:44:54 -07:00
Ryan Dahl
e5a938f1f4 Add uv_buf_init() constructor 2011-08-17 17:43:19 -07:00
Jeroen Janssen
6b27bf9a86 uv_process_pipe_shutdown_req call should match prototype 2011-08-17 13:58:56 +02:00
Jeroen Janssen
a51f376655 added missing prototype for uv_process_pipe_shutdown_req 2011-08-17 13:58:56 +02:00
Jeroen Janssen
507c4ccea6 fixes for unsigned/signed comparison 2011-08-17 13:58:55 +02:00
Jeroen Janssen
0883b3d5fc remove unused variables 2011-08-17 13:58:54 +02:00
Igor Zinkovsky
e67b9a37a0 Skip IOCP for tcp operations that complete synchronously 2011-08-16 17:21:06 -07:00