Maciej Małecki
0321adbcf4
tls doc: update docs to reflect API change
...
Refs #1983 .
2012-01-08 11:13:36 +01:00
Maciej Małecki
39484f49ef
test tls: make tests use new tls.connect API
...
Refs #1983 .
2012-01-08 11:13:28 +01:00
Maciej Małecki
df0edf5fe6
https: make https use new tls.connect API
...
Refs #1983 .
2012-01-08 11:13:18 +01:00
Maciej Małecki
4b4d059791
tls: make tls.connect accept port and host in options
...
Previous API used form:
tls.connect(443, "google.com", options, ...)
now it's replaced with:
tls.connect({port: 443, host: "google.com", ...}, ...)
It simplifies argument parsing in `tls.connect` and makes the API
consistent with other parts.
Fixes #1983 .
2012-01-08 11:12:56 +01:00
koichik
9ef3c6238b
docs: fix ChangeLog
2012-01-07 07:51:51 +01:00
koichik
57653added
docs: small changes.
2012-01-07 06:44:35 +01:00
isaacs
ff4096f958
Now working on v0.6.8
2012-01-06 17:36:39 -08:00
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)
v0.6.7
2012-01-06 16:31:03 -08:00
isaacs
d84a6ba3d1
Remove snapshot from Mac binary build
2012-01-06 16:31:03 -08:00
Ryan Dahl
bca88b2dc1
support nosnapshot in vcbuild.bat
2012-01-06 16:26:16 -08:00
Ryan Dahl
8e5674fb5c
Upgrade V8 to 3.8.5
2012-01-06 13:03:06 -08:00
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 .
2012-01-06 12:01:58 -08:00
Ryan Dahl
8bd80f4911
fix test-sys for hash randomization
...
broken in 4a899c9274
2012-01-06 10:22:24 -08:00
Bert Belder
4a899c9274
Land hash collision fix for V8 3.6 by Erik Corry.
...
- If V8 snapshots are enabled then the hash is only randomized at build time.
- Breaks MIPS
---
Backport hash collision workaround to 3.6.
This is made up of 9956, 10351, 10338 and 10330.
This change bakes the string hash key into the snapshot, so
it is determined at build time for shapshot configs.
Review URL: http://codereview.chromium.org/9124004
2012-01-06 17:02:01 +01:00
koichik
dd9593ccc4
http: fix ServerResponse does not emit 'close'
...
Refs #2453 .
2012-01-06 15:45:21 +09:00
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.
2012-01-06 00:47:14 +01:00
Ben Noordhuis
1e73e4c62f
isolates: remove global isolates list
...
No longer necessary, each isolate now waits until its subordinate isolates have
exited.
2012-01-06 00:45:27 +01:00
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.
2012-01-06 00:42:55 +01:00
Ben Noordhuis
075acfa2d6
uv: upgrade to 56a31f0
2012-01-06 00:00:40 +01:00
Emerson Macedo
aa67b1f375
fs: add appendFile() and appendFileSync() functions
2012-01-05 21:39:57 +01:00
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
2012-01-05 20:56:41 +01:00
isaacs
78dbb4b5b1
npm@1.1.0-beta-10
2012-01-05 11:22:49 -08:00
Shigeki Ohtsu
55c21970fd
build: compile without -fvisibility=hidden
...
Fixes symbol lookup errors when loading an addon module on Linux.
2012-01-05 16:50:55 +01:00
Shigeki Ohtsu
a993d22c0f
build: set product_prefix to empty for Linux
2012-01-05 16:50:44 +01:00
Ben Noordhuis
760928bfad
docs: mention that python 2.6 or 2.7 is required
2012-01-05 16:44:22 +01:00
koichik
baebd30eee
http: use self insted of this
2012-01-05 17:43:00 +09:00
Andreas Madsen
e2f1e50c60
typos
...
fixes #2465
2012-01-05 00:31:49 -08:00
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
...
Fixes #2388
2012-01-04 18:30:19 -08:00
Ryan Dahl
3452477dcb
Update address in CLA
2012-01-04 11:20:50 -08:00
Ben Noordhuis
e21643d618
build: fix npm-cli.js install
2012-01-04 16:36:08 +01:00
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.
2012-01-03 17:43:39 -08:00
Ryan Dahl
2cde498319
Add another test to test-http-parser-bad-ref.js demoing #2438
2012-01-03 17:15:25 -08:00
Ryan Dahl
557fc396b4
Upgrade V8 to 3.8.4
2012-01-03 11:46:53 -08:00
Ben Noordhuis
c123ac05dc
Merge remote-tracking branch 'origin/v0.6'
...
Conflicts:
src/udp_wrap.cc
2012-01-02 12:29:39 +01:00
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.
2012-01-02 12:02:07 +01:00
Ben Noordhuis
884f689efe
test: add #2293 regression test
...
Creating a file event watcher with fs.watch({persistent:false}) should not block
the event loop.
2012-01-02 10:48:35 +01:00
Ben Noordhuis
41f2725639
uv: upgrade to 38fc6ad
2012-01-02 10:43:10 +01:00
Ben Noordhuis
c2fb062f60
docs: fix typo on community page
2012-01-01 23:39:29 +01:00
isaacs
8e57398b20
Fix #2034 repl message for .clear when useGlobal=true
2011-12-31 03:20:41 +01:00
Ben Noordhuis
539598b11f
test: don't create temp files in fixtures dir
2011-12-31 03:17:19 +01:00
Ben Noordhuis
8b2abed03d
bench: add /echo endpoint to http_simple
...
Copies the POST request data verbatim into the response body.
2011-12-30 02:03:10 +01:00
Ryan Dahl
432a2e4d39
Add test for #2438
...
Unfortunately valgrind must be used to see the bad read. It would be nice if
we could improve this test to cause a segfault.
2011-12-29 13:37:03 -08:00
Ryan Dahl
4b3824b682
Merge remote branch 'origin/isolates2'
2011-12-29 11:57:40 -08:00
Ben Noordhuis
c24276f008
net: defer net.Server 'close' event to next tick
2011-12-29 19:30:07 +01:00
Ben Noordhuis
3f5bb15f35
dgram: fix memory leak in error path
2011-12-29 14:57:53 +01:00
Damon Oehlman
744ed46970
repl: fix repl.start not passing the ignoreUndefined arg to the REPLServer constructor
2011-12-29 14:46:04 +01:00
Jeremy Martin
8c3a757ffc
docs: tiny typo in http.markdown
2011-12-29 14:35:52 +01:00
Ben Noordhuis
0c3b357985
Merge branch 'isolates2'
2011-12-29 01:56:58 +01:00
Ben Noordhuis
add4cfcf5f
Merge branch 'v0.6'
...
Conflicts:
src/platform_win32.cc
2011-12-29 01:56:44 +01:00
Ben Noordhuis
fa43f04f6a
Include ngx-queue.h, fix Windows build.
2011-12-29 01:56:11 +01:00