Age | Commit message (Collapse) | Author |
|
|
|
Conflicts:
ChangeLog
deps/uv/src/unix/udp.c
deps/uv/src/win/fs.c
deps/uv/src/win/udp.c
deps/uv/test/test-fs.c
doc/index.html
doc/logos/index.html
doc/template.html
src/node_version.h
|
|
|
|
|
|
|
|
When using isolate the .fork would break because it had
no .disconnect method. This remove the exit handler there
would call .disconnect since it was not required.
It also change .disconnect to throw if the channel is closed,
this was not possible before because .disconnect would be called
twice.
|
|
|
|
|
|
Fixes #1138, #2610.
|
|
This disconnect method allows the child to exit gracefully.
This also adds a disconnect event and connect property.
|
|
when the status code is 100 (Continue).
Fixes #2636.
|
|
If a timer callback throws and the user's uncaughtException handler ignores the
exception, other timers that expire on the current tick should still run.
If #2582 goes through, this hack should be removed.
Fixes #2631.
|
|
Formalize and cleanup handling of deprecated core methods.
|
|
Add key.code and key.sequence -mad props go out to @TooTallNate
|
|
* fixes #1519
|
|
* fixes #1519
|
|
Replace the ondrain hack with a regular 'drain' listener. Speeds up the
bytes/1024 http benchmark by about 1.2%.
|
|
3df7c90 was removed when conflict was resolved.
|
|
|
|
|
|
- throw on error, don't return an error code
|
|
- don't return a value
|
|
- throw if the ttl argument is not a number
- return the ttl argument (not particulary useful but it's what v0.4 did)
Note that the 0 < ttl < 256 check has *not* been reinstated. On Linux, -1 is a
valid argument to setsockopt(IPPROTO_IP, IP_TTL).
|
|
Conflicts:
ChangeLog
doc/template.html
lib/cluster.js
lib/http.js
lib/tls.js
src/node.h
src/node_version.h
test/simple/test-cluster-kill-workers.js
|
|
Change formatProperty in util.js to use Object.getOwnPropertyDescriptor
instead of __lookup[GS]etter__.
Use the cached value from the descriptor to reduce number of property
lookups from 3 to 1.
Fallback to standard lookup if the descriptor is empty. This doesn't
ever happen with normal JS objects (this function is called only when
the key exists) but apparently does with Node's custom ENV interface.
Fixes: #2109.
|
|
As RFC 2616 says we should, assume that servers will provide a persistent
connection by default.
> A significant difference between HTTP/1.1 and earlier versions of
> HTTP is that persistent connections are the default behavior of any
> HTTP connection. That is, unless otherwise indicated, the client
> SHOULD assume that the server will maintain a persistent connection,
> even after error responses from the server.
> HTTP/1.1 applications that do not support persistent connections MUST
> include the "close" connection option in every message.
Fixes #2436.
|
|
`path.exists*` functions show a deprecation warning and call functions
from `fs`. They should be removed later.
test: fix references to `path.exists*` in tests
test fs: add test for `fs.exists` and `fs.existsSync`
doc: reflect moving `path.exists*` to `fs`
|
|
Mea culpa, I told @mmalecki wrong
|
|
Removed during the early stages of node 0.5 refactoring to libuv.
|
|
Removed during the early stages of node 0.5 refactoring to libuv.
|
|
Removed during the early stages of node 0.5 refactoring to libuv.
|
|
Fixes #2577.
|
|
Fix zlib crashes on error due to improper use of removeListener
in the error handler
|
|
Fixes #2470
|
|
|
|
Closes GH-2526
|
|
uncaughtException handlers installed by the user override the default one that
the cluster module installs, the one that kills off the master process.
Fixes #2556.
|
|
Closes GH-2424
|
|
In case of a write failure when using fork() an error would be thrown. The
thrown exception was missing the `errno` property.
|
|
Fixes #2549.
|
|
Conflicts:
deps/uv/src/win/util.c
src/udp_wrap.cc
|
|
|
|
This reverts commit df62005ece4bb0be0d5af645fd9093b1506ce63d.
|
|
|
|
|
|
* fix limiting when parser was reused
* fix maxHeadersCount = 0 is ignored ( credit to @koichik )
* add test-http-max-headers-count.js ( credit to @koichik )
|
|
|
|
Passing a non-buffer or non-string argument to Socket.prototype.write triggered
an assert:
Assertion failed: (Buffer::HasInstance(args[0])), function Write,
file ../src/stream_wrap.cc, line 289.
Fixes #2532.
|
|
With Upgrade or CONNECT request, http.ClientRequest emits 'close' event
after its socket is closed. However, after receiving a response, the socket
is not under management by the request.
http.ClientRequest should detach the socket before 'upgrade'/'connect'
event is emitted to pass the socket to a user. After that, it should
emit 'close' event immediately without waiting for closing of the socket.
Fixes #2510.
|
|
* ammended test-zlib-dictionary to cover reusing streams
|