isaacs
e4dd8dc28e
http leak: Null links from parser to req/res
2012-05-04 14:27:47 -07:00
vvo
5eac8d6739
Fix #3179 HTTP memory leak using ClientRequest.
2012-05-04 14:27:41 -07:00
isaacs
2f93eb6102
http client: Destroy on timeout
2012-05-04 14:27:35 -07:00
isaacs
0a414f4caa
http: Remove socket ondata/onend in parser cleanup
2012-05-04 14:27:30 -07:00
isaacs
9164fa6aaa
Null references to request object on socket errors.
...
Regarding #3199 and #3179 and issues seen in production.
Hopefully this fixes them.
2012-05-04 14:27:24 -07:00
isaacs
992e3464b8
Now working on 0.6.18
2012-05-04 13:34:33 -07:00
isaacs
fbe143d9cb
Merge branch 'v0.6.17-release' into v0.6
2012-05-04 13:34:08 -07:00
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)
v0.6.17
2012-05-04 13:12:52 -07:00
isaacs
711ecdd54f
test: Run weak install with --unsafe-perm
...
This way it doesn't die when running as root.
2012-05-04 12:52:59 -07:00
isaacs
aaf0453b7c
Upgrade npm to 1.1.21
2012-05-04 12:52:55 -07:00
isaacs
719cd461d3
Upgrade uv to 936795a2c
2012-05-04 11:00:39 -07:00
isaacs
ab60efb535
Update Authors
2012-05-04 10:57:33 -07:00
isaacs
d1effbb338
Merge branch 'http-memleak' into v0.6
2012-05-04 10:54:24 -07:00
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.
2012-05-04 10:40:50 -07:00
isaacs
62c12d2161
Clean up gc tests
...
This fixes the additional issues brought up in #3179 .
2012-05-04 10:40:38 -07:00
ANDO Takahiro
ebd0f98e2b
doc: fix callback argument of child_process.exec, execFile
...
Fixes #3196 .
2012-05-04 19:15:30 +09:00
isaacs
e3ceee2dce
http: .once() usage in setTimeout
2012-05-03 10:39:16 -07:00
isaacs
91120e0429
Tests for memory leaks
2012-05-03 10:36:17 -07:00
isaacs
b7e8e35c0e
http leak: Null links from parser to req/res
2012-05-03 10:20:45 -07:00
koichik
ebbd4039bc
buffer: add UTF-16LE encoding name.
2012-05-03 23:56:17 +09:00
vvo
75f2365558
Fix #3179 HTTP memory leak using ClientRequest.
2012-05-03 07:45:46 -07:00
Ben Noordhuis
e4a8d2617b
addon: add AtExit() function
...
Lets native addons register exit hooks that run after the event loop has quit
but before the VM is killed.
Fixes #3147 .
2012-05-03 16:11:42 +02:00
Igor Zinkovsky
6f82b9f482
64bit offsets for fs calls
2012-05-02 22:39:23 -07:00
Ben Noordhuis
df2c5fa81d
fs: fix file descriptor leak in sync functions
...
Fixes #3202 . This is a back-port of commit 4e290e4 .
2012-05-03 02:49:36 +02:00
Ben Noordhuis
4e290e48b2
fs: fix file descriptor leak in sync functions
...
Fixes #3202 .
2012-05-03 01:08:46 +02:00
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.
2012-05-03 01:01:46 +02:00
Ben Noordhuis
6b426a2edd
Revert "v8: fix "pure virtual method called" runtime error"
...
It makes mksnapshot die with a segmentation fault on sunos with gcc 4.5.2.
This reverts commit c21c51a6fc .
2012-05-02 22:53:45 +00:00
isaacs
c9be1d5ffd
http client: Destroy on timeout
2012-05-02 12:13:54 -07:00
Ben Noordhuis
880219645e
tcp, udp: share sockaddr-to-object function
...
Share AddressToJS() function between tcp_wrap.cc and udp_wrap.cc.
2012-05-02 18:03:25 +02:00
Fedor Indutny
c3898f3c1f
debugger: support mirroring Date objects
...
* fixes #3203
2012-05-02 15:48:23 +07:00
Yoshihiro Kikuchi
ee2291eb0d
test: add a child domain explicitly
2012-05-02 02:51:28 +02:00
isaacs
fb400b4868
Return after emitting error in tty.js
2012-05-01 15:51:29 -07:00
isaacs
bce68134b6
http: Remove socket ondata/onend in parser cleanup
2012-05-01 15:25:59 -07:00
isaacs
bfe9cdb7f2
Null references to request object on socket errors.
...
Regarding #3199 and #3179 and issues seen in production.
Hopefully this fixes them.
2012-05-01 14:26:18 -07:00
Nathan Rajlich
b894521bd2
process: ensure that "exit" doesn't get emitted twice on a natural exit
...
Fixes "test/simple/test-process-exit.js".
2012-05-01 14:09:31 -07:00
isaacs
acf19500ee
Now working on 0.6.17
2012-05-01 13:31:26 -07:00
Fedor Indutny
9f9c333cbc
vm: accept only object as arg of .createContext()
...
Converting strings and others to objects is very slow and essentially
wrong.
2012-05-02 01:59:59 +07:00
Yi, EungJun
4bd54dad33
path: add path.sep to get the path separator.
2012-05-01 15:19:37 +02:00
Kyle Robinson Young
6ba3e68bd2
doc: correct return value of string-based fs.readSync
...
Closes #2330
2012-05-01 15:19:36 +02:00
Ben Noordhuis
b45a10818e
udp: slightly optimize address family property
2012-05-01 15:19:30 +02:00
Ben Noordhuis
e747daf604
udp: make variable names consistent
2012-05-01 14:52:00 +02:00
Shigeki Ohtsu
94f1feeb59
udp: make getsockname() return address family name
2012-05-01 14:50:17 +02:00
Nathan Rajlich
f4403f90f8
tty: emit "error" instead of throwing when getWindowSize() fails
2012-04-30 18:51:20 -07:00
Garen Torikian
6cacb9a21e
doc: add Cloud9 links to docs
2012-05-01 02:25:08 +02:00
Kyle Robinson Young
e02d5c9d41
doc: add args to console methods
2012-05-01 02:25:08 +02:00
Kyle Robinson Young
c9e6d3696c
doc: typo fixes
2012-05-01 02:25:08 +02:00
Nathan Rajlich
f1f5de1c8d
tty: throw an Error when getWindowSize() fails
2012-04-30 16:20:27 -07:00
Michael Thomas
4e4860579e
test: rebuild keys without asking for password
2012-05-01 01:08:31 +02:00
Ben Noordhuis
75c6255d16
deps: remove libuv sanity check
...
Remove reference count check. Unbreaks test suite. This needs to be addressed.
2012-05-01 00:55:46 +02:00
Ben Noordhuis
89e311b1ae
deps: back-port openssl patch
...
Check for potentially exploitable overflows in asn1_d2i_read_bio
BUF_mem_grow and BUF_mem_grow_clean. Refuse attempts to shrink buffer
in CRYPTO_realloc_clean.
Taken from OpenSSL CVS. Addresses CVE-2012-2110.
2012-05-01 00:40:38 +02:00