Commit Graph

622 Commits

Author SHA1 Message Date
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
Ryan Dahl
65f71a2039 Temp disable pipe2 on linux 2011-08-12 04:10:25 -04:00
Ben Noordhuis
20074288ac build: add BSDmakefile
Warns user to run `gmake` instead.
2011-08-12 06:16:36 +02:00
Ben Noordhuis
1485c47999 eio: define HAVE_UTIMES 1 on freebsd, fixes build 2011-08-12 06:16:35 +02:00
Igor Zinkovsky
23e9ecb667 fix memory leak in echo server 2011-08-11 18:19:59 -07:00
Ben Noordhuis
7b5d28e4b9 build: use -pthreads on sunos, -pthread everywhere else 2011-08-12 02:51:16 +02:00
Bert Belder
4c63f554a6 Windows: much better pipe_pound_1000 results 2011-08-12 02:44:02 +02:00
Bert Belder
89aa4078cc Windows: try to avoid using the thread pool for pipe shutdown 2011-08-12 02:44:01 +02:00
Bert Belder
a2ee4854c6 Windows: dynamically load some ntdll functions 2011-08-12 02:44:00 +02:00
Bert Belder
2d40e35b7e Style 2011-08-12 02:43:59 +02:00
Bert Belder
b13f46f6cb Add msvs build products to .gitignore 2011-08-12 02:43:58 +02:00
Ben Noordhuis
d358738954 bench: #undef NANOSEC, defined in time.h on solaris 2011-08-11 23:43:52 +00:00
Ben Noordhuis
c952352f77 build: use -pthreads, older gccs don't recognize -pthread 2011-08-11 23:43:52 +00:00
Ryan Dahl
b44f9d75ea unix: cloexec stdio streams 2011-08-11 16:35:56 -07:00
Ryan Dahl
f7b4e65090 unix: introduce SPAWN_WAIT_EXEC to turn off poll feature 2011-08-11 15:52:22 -07:00
Ryan Dahl
11aa1ea096 Remove unnecessary casts 2011-08-11 11:27:35 -07:00
Bert Belder
ca633920f5 Windows: fix pipe shutdown 2011-08-11 04:18:29 +02:00
Bert Belder
a89410456c Whitespace 2011-08-11 04:18:28 +02:00
Ben Noordhuis
e8497aee5a Add error code UV_EPIPE. 2011-08-11 02:45:27 +02:00
Ben Noordhuis
b328e4cb05 uv-unix: fd 0 is valid file descriptor
uv__bind() and uv_tcp_listen() created a new socket
if tcp->fd <= 0 but 0 is a valid file descriptor.

The second bug was that the newly created socket
wasn't actually assigned to tcp->fd.

Fixes failing node.js test:
  test/simple/test-regress-GH-746.js
2011-08-11 01:36:20 +02:00
Ryan Dahl
ee2027dd13 fix preprocessor again 2011-08-10 16:16:47 -07:00
Ben Noordhuis
b6b97f305e uv-unix: guard against self-close by connection_cb
connection_cb may close the server socket inside the accept loop, handle it.

Fixes failing node.js tests:
  test/simple/test-net-connect-buffer.js
  test/simple/test-net-create-connection.js
2011-08-11 00:33:09 +02:00
Ben Noordhuis
afb1859600 uv-unix: remove dead code 2011-08-11 00:33:09 +02:00
Ryan Dahl
06623d15f2 More preprocessor fixes... 2011-08-10 15:01:38 -07:00
Ryan Dahl
dac30a15f2 More preprocessor fixes 2011-08-10 14:56:16 -07:00
Ryan Dahl
5dc8037fcf Fix mingw build by using preprocessor correctly. 2011-08-10 14:40:52 -07:00
Ryan Dahl
db190c7b4f unix: uv_pipe_connect should call uv__stream_open 2011-08-10 14:22:10 -07:00