Bert Belder
d8351a2ef4
Automatically close FSWatcher on error
Closes #3250
13 years ago
koichik
5f9ffa17b1
fs: fix ReadStream.pause() emits duplicate data event
Fixes #3258 .
13 years ago
isaacs
9239088e87
500 is a magic number for the GC for some reason
13 years ago
isaacs
07d8a4650e
Break up huge function in ClientRequest.onSocket
13 years ago
Ben Noordhuis
884499d37e
build: fix cross-compiling
Take arch cflags in account when building libuv.
13 years ago
Shigeki Ohtsu
cc8cfb145a
doc: fix typo in buffer documentation
Fixes #3253 .
13 years ago
vegorov@chromium.org
52f0c37d09
Runtime_NotifyDeoptimized should search for function activation in all thread stacks.
R=fschneider@chromium.org
BUG=v8:1763
Review URL: http://codereview.chromium.org/8240004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@9588 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 years ago
Philip Tellis
493beb23f2
doc: fs.ReadableStream does not have a destroySoon method
13 years ago
Ben Noordhuis
3883f22ad1
pipe_wrap: don't assert() on pipe accept errors
Pass errors to the onconnection callback.
13 years ago
Felix Geisendörfer
bf9d8e9214
Fix exception output for module load exceptions
So instead of:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
You will now see:
path/to/foo.js:1
throw new Error('bar');
^
This is a sub-set of isaacs patch here:
https://github.com/joyent/node/issues/3235
The difference is that this patch purely adresses the exception output,
but does not try to make any behavior changes / improvements.
13 years ago
Felix Geisendörfer
814033365b
Fix process.nextTick throw call sites
This patch now reports the proper throw call site for exceptions
triggered within process.nextTick. So instead of this:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
You will now see:
mydir/myscript.js:15
throw new Error('My Error');
^
From my testing this patch causes no performance regressions, but does
greatly simplify processing the nextTickQueue.
13 years ago
Ben Noordhuis
ee437c0557
zlib: fix error reporting
This commit is a back-port of the changes on the master branch.
Fixes #3230 .
13 years ago
isaacs
8c758e127c
Don't destroy on timeout
13 years ago
isaacs
b4fbf6d275
Fix #3231 . Don't try to emit error on a null'ed req object
13 years ago
Ben Noordhuis
e02af94947
test: add failing HTTP client timeout test
See #3231 .
13 years ago
isaacs
8cd2b0e778
test: No need for weak in 'make test'
13 years ago
isaacs
992e3464b8
Now working on 0.6.18
13 years ago
isaacs
fbe143d9cb
Merge branch 'v0.6.17-release' into v0.6
13 years ago
isaacs
4ced23deaf
2012.05.04 Version 0.6.17 (stable)
* Upgrade npm to 1.1.21
* uv: Add support for EROFS errors (Ben Noordhuis, Maciej Małecki)
* uv: Add support for EIO and ENOSPC errors (Fedor Indutny)
* windows: Add support for EXDEV errors (Bert Belder)
* http: Fix client memory leaks (isaacs, Vincent Voyer)
* fs: fix file descriptor leak in sync functions (Ben Noordhuis)
* fs: fix ReadStream / WriteStream double close bug (Ben Noordhuis)
13 years ago
isaacs
711ecdd54f
test: Run weak install with --unsafe-perm
This way it doesn't die when running as root.
13 years ago
isaacs
aaf0453b7c
Upgrade npm to 1.1.21
13 years ago
isaacs
719cd461d3
Upgrade uv to 936795a2c
13 years ago
isaacs
ab60efb535
Update Authors
13 years ago
isaacs
d1effbb338
Merge branch 'http-memleak' into v0.6
13 years ago
isaacs
2fc528ce00
http: Clean up parser usage
Move parsers.free(parser) to a single function, which also
nulls all of the various references we hang on them.
Also, move the parser.on* methods out of the closure, so that
there's one shared definition of each, instead of re-defining
for each parser in a spot where they can close over references
to other request-specific objects.
13 years ago
isaacs
62c12d2161
Clean up gc tests
This fixes the additional issues brought up in #3179 .
13 years ago
ANDO Takahiro
ebd0f98e2b
doc: fix callback argument of child_process.exec, execFile
Fixes #3196 .
13 years ago
isaacs
e3ceee2dce
http: .once() usage in setTimeout
13 years ago
isaacs
91120e0429
Tests for memory leaks
13 years ago
isaacs
b7e8e35c0e
http leak: Null links from parser to req/res
13 years ago
vvo
75f2365558
Fix #3179 HTTP memory leak using ClientRequest.
13 years ago
Ben Noordhuis
df2c5fa81d
fs: fix file descriptor leak in sync functions
Fixes #3202 . This is a back-port of commit 4e290e4
.
13 years ago
Ben Noordhuis
47d6a94656
fs: fix ReadStream / WriteStream double close bug
* Calling fs.ReadStream.destroy() or fs.WriteStream.destroy() twice would close
the file descriptor twice. That's bad because the file descriptor may have
been repurposed in the mean time.
* A bad value check in fs.ReadStream.prototype.destroy() would prevent a stream
created with fs.createReadStream({fd:0}) from getting closed.
13 years ago
isaacs
c9be1d5ffd
http client: Destroy on timeout
13 years ago
isaacs
bce68134b6
http: Remove socket ondata/onend in parser cleanup
13 years ago
isaacs
bfe9cdb7f2
Null references to request object on socket errors.
Regarding #3199 and #3179 and issues seen in production.
Hopefully this fixes them.
13 years ago
isaacs
acf19500ee
Now working on 0.6.17
13 years ago
isaacs
518d28c23a
Merge branch 'v0.6.16-release' into v0.6
13 years ago
isaacs
a1d193963d
2012.04.30 Version 0.6.16 (stable)
* Upgrade V8 to 3.6.6.25
* Upgrade npm to 1.1.19
* Windows: add mappings for UV_ENOENT (Bert Belder)
* linux: add IN_MOVE_SELF to inotify event mask (Ben Noordhuis)
* unix: call pipe handle connection cb on accept() error (Ben Noordhuis)
* unix: handle EWOULDBLOCK (Ben Noordhuis)
* map EWOULDBLOCK to UV_EAGAIN (Ben Noordhuis)
* Map ENOMEM to UV_ENOMEM (isaacs)
* Child process: support the `gid` and `uid` options (Bert Belder)
* test: cluster: add worker death event test (Ben Noordhuis)
* typo in node_http_parser (isaacs)
* http_parser: Eat CRLF between requests, even on connection:close. (Ben Noordhuis)
* don't check return value of unsetenv (Ben Noordhuis)
13 years ago
isaacs
e5ef103b05
Fix #3194 correct url documentation
13 years ago
isaacs
35bcb1d6a9
Indentation fix
13 years ago
isaacs
1ac05cc5ad
Upgrade npm to 1.1.18
13 years ago
ssuda
db844b152a
process: don't use strdup()
file and cwd can be directly used from Utf8Value.
Conflicts:
src/process_wrap.cc
13 years ago
Bert Belder
3546383cf0
process_wrap: avoid leaking memory when throwing due to invalid arguments
13 years ago
Bert Belder
55e4d54927
Child process: support the `gid` and `uid` options
13 years ago
Bert Belder
51e66ec410
Windows: turn off /Gm
Otherwise multicode compile doesn't work.
13 years ago
Bert Belder
0b75eee364
uv: upgrade to d41cc9118d
13 years ago
Bert Belder
e221cd4a53
uv: upgrade to aea5db5da1
13 years ago
isaacs
76de7c0c26
Add customary 'fork me on github' banner to website
13 years ago
Ben Noordhuis
a64acd8baa
test: cluster: add worker death event test
13 years ago