Commit Graph

4148 Commits

Author SHA1 Message Date
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
Ben Noordhuis
d01676fc73 build: define _XOPEN_SOURCE=500 on SunOS
Exposes msghdr.msg_flags, required for UDP support.
2011-08-22 14:27:39 +00:00
Ben Noordhuis
6cc241ac7a Fix 'incomplete prototype' compiler warnings on SunOS. 2011-08-22 14:27:39 +00: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
Ryan Dahl
123119342f pound: only display connect errors on DEBUG 2011-08-18 15:31:54 -07:00
Igor Zinkovsky
f6c25a17ea Fix pipe-pound and clean-up 2011-08-18 15:30:34 -07:00
Ryan Dahl
ac1ce29ad0 Improve pound benchmark by reconnecting in close_cb 2011-08-18 15:30:34 -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
Ryan Dahl
d77e9795d3 Fix spelling 2011-08-18 10:35:52 -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
Bert Belder
cc5aa51fdf Small correction to AUTHORS 2011-08-17 16:00:05 +03:00
Bert Belder
f71acf1988 Update AUTHORS 2011-08-17 14:42:06 +02: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
Ryan Dahl
ed118836c4 Improve docs 2011-08-17 00:42:44 -07:00
Igor Zinkovsky
e67b9a37a0 Skip IOCP for tcp operations that complete synchronously 2011-08-16 17:21:06 -07:00
Ben Noordhuis
358d89aa79 build: fix build on systems where ld --as-needed is the default
Fixes unresolved symbol linker errors from -lm and -lrt.
2011-08-15 20:41:57 +02:00
Igor Zinkovsky
7cafd8b105 update vcbuild.bat with correct sln file 2011-08-15 14:48:52 -07:00
Igor Zinkovsky
fc26321890 use GetQueuedCompletionStatusEx if the OS supports it 2011-08-15 12:13:47 -07:00
Bert Belder
38c2322378 Windows: ipv6 "any address" is ::0, not ::1 2011-08-15 05:52:50 +02:00
Bert Belder
c6c3d15d81 Windows: slightly improve error reporting 2011-08-15 04:25:39 +02:00
Ben Noordhuis
5020134568 uv-unix: remove unused variable 'iov' 2011-08-15 03:21:56 +02:00
Ryan Dahl
e89f54ece4 Add forgotten gyp files 2011-08-13 22:56:11 -07:00
Peter Bright
2942f5a8cc GYP upates 2011-08-13 20:27:39 -07:00
Ben Noordhuis
035fd5beb0 eio: future-proof glibc version detection 2011-08-14 04:01:57 +02:00
Ben Noordhuis
5899192807 eio: fix HAVE_SYNC_FILE_RANGE heuristic on linux 2011-08-14 03:13:33 +02:00
Igor Zinkovsky
da4e864684 vcbuild.bat for building libuv with msbuild 2011-08-13 12:30:32 -07:00
Ben Noordhuis
f1df74dd5c Add Peter Bright to AUTHORS 2011-08-13 00:09:18 +02:00
Augusto Henrique Hentz
7f82995fb4 uv-unix: fix typo in definition of HAVE_PIPE2
The define HAVE_PIPE2 was always being set, even when the requisites
were not met.
2011-08-12 16:13:06 +02:00