Ben Noordhuis
46e86aa803
dgram: bring back setMulticastLoopback()
13 years ago
Igor Zinkovsky
6c0c00a205
fix windows build
13 years ago
Maciej Małecki
ff512634ac
version: bump `NODE_PATCH_VERSION`
Patch version hasn't been bumped correctly in
72cbb7492c
.
13 years ago
Ben Noordhuis
9edb984274
crypto: silence unused variable warning
`retry` is not used if SSL_PRINT_DEBUG is not defined.
13 years ago
Igor Zinkovsky
6d00c089e3
only ref non-default isolate loops
13 years ago
Dan VerWeire
f2b1f57f74
dgram: reintroduce setMulticastTTL()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Dan VerWeire
f749338e1e
dgram: reintroduce setBroadcast()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Roman Shtylman
a38fd6056c
dgram: reintroduce addMembership() and dropMembership()
Removed during the early stages of node 0.5 refactoring to libuv.
13 years ago
Igor Zinkovsky
de78922b12
ref isolate loop
13 years ago
Ben Noordhuis
4e5247772d
fs, handle_wrap: use Loop(), not uv_default_loop()
Using the default loop will fail in unexpected and interesting ways when
isolates are used.
13 years ago
Shigeki Ohtsu
2156e5eca1
fs: don't assert on uv_fs_*() errors
Pass errors to the JS callbacks, don't assert in C++ land.
Fixes among other things the case where Node aborts because uv_fs_futimes()
returns ENOSYS.
13 years ago
isaacs
ec1d1ee61f
Now working on 0.6.9
13 years ago
isaacs
d18cebaf8a
2012.01.19, Version 0.6.8 (stable)
* Update V8 to 3.6.6.19
* Numeric key hash collision fix for V8 (Erik Corry, Fedor Indutny)
* Add missing TTY key translations for F1-F5 on Windows (Brandon Benvie)
* path.extname bugfix with . and .. paths (Bert Belder)
* cluster: don't always kill the master on uncaughtException (Ben
* Noordhuis)
* Update npm to 1.1.0-2 (isaacs)
* typed arrays: set class name (Ben Noordhuis)
* zlib binding cleanup (isaacs, Bert Belder)
* dgram: use slab memory allocator (Michael Bernstein)
* fix segfault #2473
13 years ago
Ingmar Runge
0ca30187cf
Crypto: adding ability to turn off automatic PKCS padding
13 years ago
Ben Noordhuis
549443a7cc
typed arrays: set class name
Make obj.toString and Object.prototype.toString work correctly for typed arrays.
13 years ago
Ryan Dahl
72cbb7492c
Now working on v0.7.1-pre
13 years ago
Ryan Dahl
9cc55dca6f
Bump version to v0.7.0
13 years ago
Igor Zinkovsky
95844451b6
fix windows build
13 years ago
Ben Noordhuis
03cb903e7e
isolates: remove references to uv_thread_self()
uv_thread_self() is difficult to implement on Windows in a way where the return
value is valid across threads. It's already been removed from upstream libuv.
13 years ago
mrb
bd9fa2e841
dgram: use slab memory allocator
Change udp memory allocation scheme from uv_buf_init to slab allocation. Takes
slab allocation scheme from stream_wrap.
13 years ago
Fedor Indutny
71ae175319
zlib: reset() method for deflate/inflate streams
* ammended test-zlib-dictionary to cover reusing streams
13 years ago
Fedor Indutny
89556f5a2f
zlib: C++ style fixes for dictionary
13 years ago
Fedor Indutny
07701e7cc8
zlib: C++ style fixes
13 years ago
isaacs
8cca30f31b
zlib binding cleanup
* Add assert to prevent parallel writes
* Embed request object instead of using new/delete
* Remove unnecessary WorkReqWrap in favor of uv_work_t
* Use container_of instead of req->data
Along with 2d8af39acc
and
0ad2717fd8
, this should Fix #2504 .
13 years ago
Ben Noordhuis
0ad2717fd8
Make sure that zlib contexts are not garbage collected when busy
13 years ago
Bert Belder
2d8af39acc
Fix memory leak in node_zlib
13 years ago
Ryan Dahl
e6a30bd107
Fix #2473
Tested in production.
See also http://code.google.com/p/v8/issues/detail?id=1889
13 years ago
Ben Noordhuis
7cee968c21
isolates: add process-global list of isolates
13 years ago
Fedor Indutny
99679c6430
IsolateDebugger C++
13 years ago
Fedor Indutny
44e7033279
fixed debugger segfaults
13 years ago
Fedor Indutny
a5f74b4da7
added isolates support
13 years ago
Ben Noordhuis
97e4b3a7bf
isolates: drain message queue completely
13 years ago
Ben Noordhuis
b07acb3808
child_process: fix segfault after failed spawn
The process handle is uninitialized when uv_spawn() fails so don't export the
handle to JS land when that happens. Attempts to close the uninitialized handle
resulted in segmentation faults and memory corruption.
Fixes #2481 .
13 years ago
Ben Noordhuis
d5d043f2d7
handle_wrap: guard against uninitialized handle or double close
13 years ago
Ben Noordhuis
9a79bb694e
Avoid unnecessary buffer to string conversion.
Speeds up the benchmark below by about 680% (0.5s versus 3.4s on my Core 2 Duo).
var crypto = require('crypto');
var hash = crypto.createHash('sha1');
var data = new Buffer(1024);
for (var i = 0; i < 128 * 1024; ++i) hash.update(data);
Fixes #2494 .
13 years ago
isaacs
ff4096f958
Now working on v0.6.8
13 years ago
isaacs
d5a189acef
2012.01.06, Version 0.6.7 (stable)
* V8 hash collision fix (Breaks MIPS) (Bert Belder, Erik Corry)
* Upgrade V8 to 3.6.6.15
* Upgrade npm to 1.1.0-beta-10 (isaacs)
* many doc updates (Ben Noordhuis, Jeremy Martin, koichik, Dave Irvine,
Seong-Rak Choi, Shannen, Adam Malcontenti-Wilson, koichik)
* Fix segfault in node_http_parser.cc
* dgram, timers: fix memory leaks (Ben Noordhuis, Yoshihiro Kukuchi)
* repl: fix repl.start not passing the `ignoreUndefined` arg (Damon Oehlman)
* #1980 : Socket.pause null reference when called on a closed Stream (koichik)
* #2263 : XMLHttpRequest piped in a writable file stream hang (koichik)
* #2069 : http resource leak (koichik)
* buffer.readInt global pollution fix (Phil Sung)
* timers: fix performance regression (Ben Noordhuis)
* #2308 , #2246 : node swallows openssl error on request (koichik)
* #2114 : timers: remove _idleTimeout from item in .unenroll() (James Hartig)
* #2379 : debugger: Request backtrace w/o refs (Fedor Indutny)
* simple DTrace ustack helper (Dave Pacheco)
* crypto: rewrite HexDecode without snprintf (Roman Shtylman)
* crypto: don't ignore DH init errors (Ben Noordhuis)
13 years ago
Ryan Dahl
be67fa7e09
Revert "crypto: add SecureContext.clearOptions() method"
API addition needs to go in master. Also openssl-0.9.8k doesn't have
SSL_CTX_clear_options().
This reverts commit 6f8839d2ac
.
13 years ago
Ben Noordhuis
42281124d4
child_process: add isolates support
Passing an options object with {thread:true} to .fork() or .spawn() will run the
target script in a thread instead of a separate process.
13 years ago
Ben Noordhuis
1e73e4c62f
isolates: remove global isolates list
No longer necessary, each isolate now waits until its subordinate isolates have
exited.
13 years ago
Ben Noordhuis
dadc30318f
isolates: implement message passing
Parent and child isolates can now pass arbitrary binary messages between each
other. The messages are sent and received through a thread-safe queue that
wakes up the event loop of the receiving thread.
13 years ago
Mikael Bourges-Sevenier
5b05429bf0
typed arrays: add Buffer -> TypedArray constructor
- create a typed array from a node::Buffer object
- update TypedArray::set() to spec
- add TypedArray::get() method
13 years ago
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
Fixes #2388
13 years ago
Ryan Dahl
f3da6c6c04
Potential fix for #2438
- Save StringPtr if the header hasn't been completely received yet after one
packet.
- Add one to num_fields and num_values. They were actually one less than the
number of fields and values.
- Remove always_inline makes debugging difficult, and has negligible
performance benefits.
13 years ago
Ben Noordhuis
6f8839d2ac
crypto: add SecureContext.clearOptions() method
SecureContext.setOptions() is backed by SSL_CTX_set_options() which, contrary to
what the name suggests, is additive: it doesn't set options, it adds them to the
already active options.
Hence the need for SecureContext.clearOptions(), which lets you unset active
options.
13 years ago
Ben Noordhuis
3f5bb15f35
dgram: fix memory leak in error path
13 years ago
Ben Noordhuis
fa43f04f6a
Include ngx-queue.h, fix Windows build.
13 years ago
Ryan Dahl
649dbbbd83
Add process.features.isolates
13 years ago
Ryan Dahl
5fc0c27d5c
move isolate V8 functions out of node.cc
13 years ago
Ryan Dahl
20ba454ef9
Add node::Loop() and don't inc node_isolate.h in *.cc
node::Loop() replaces the NODE_LOOP macro. This avoids hitting
v8::Isolate::GetCurrent() for each loop lookup when HAVE_ISOLATE==0
13 years ago