Ryan Dahl
bca88b2dc1
support nosnapshot in vcbuild.bat
2012-01-06 16:26:16 -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
isaacs
78dbb4b5b1
npm@1.1.0-beta-10
2012-01-05 11:22:49 -08: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
Ryan Dahl
3452477dcb
Update address in CLA
2012-01-04 11:20:50 -08: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
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
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
Ryan Dahl
448c5e07ca
Revert "Add HandleScope to http-parser binding"
...
This commit did not actually fix the production crashes.
This reverts commit 73cf8e82e7
.
2011-12-28 14:08:19 -08:00
Andreas Madsen
d483acc5d9
test: remove internet test from test/simple/
2011-12-28 17:22:29 +01:00
koichik
a848a3efbf
net: fix Socket.pause null reference when called on a closed Stream
...
Fixes #1980 .
2011-12-28 15:13:57 +09:00
koichik
e1c043f43a
docs: fix docs to not suggest variable leaks
...
Fixes #2106 .
2011-12-27 17:43:58 +09:00
koichik
a337ac7584
http: fix XMLHttpRequest piped in a writable file stream hangs next request
...
Fixes #2263 .
2011-12-27 17:42:37 +09:00
Ben Noordhuis
70e6f3f115
docs: document http.Server.close() semantics
2011-12-26 23:30:25 +01:00
koichik
7aa5924dc6
http: fix resource leak
...
Fixes #2069
2011-12-26 08:05:35 +01:00
Ben Noordhuis
0de6ec5f08
win: fix mismatched new[]/delete
2011-12-26 03:27:28 +01:00
Ben Noordhuis
ed5bad754c
bench: fix use of fd after close
2011-12-26 03:23:34 +01:00
Ryan Dahl
d85c85aac1
Change 'real example' in addon doc
2011-12-23 15:10:22 -08:00
Bert Belder
c6347dcfb4
Add another nextTick benchmark
...
It tests how many iterations the event loop can make per second.
2011-12-23 03:09:36 +01:00
Phil Sung
cf2513e1aa
buffer: don't pollute global namespace in buffer.readInt*
2011-12-22 23:26:43 +01:00
Ben Noordhuis
b261e37a34
test: ensure callback is executed
2011-12-22 17:28:23 +01:00
Ju-yeong Park
5976d58796
net: raise exception when the socket is closed
2011-12-22 17:25:14 +01:00
Dave Irvine
045bfe0da5
docs: document 'encoding' arg of hash.update()
2011-12-22 16:57:07 +01:00
Ben Noordhuis
d8c178bc16
timers: fix performance regression
...
Fix a 5-7% performance regression in the http_simple benchmark that was
introduced by the following commits:
348d8cd
timers: remove _idleTimeout from item in .unenroll()
f2f3028
timers: fix memory leak in setTimeout
098fef6
timers: remember extra setTimeout() arguments when timeout==0
Fix suggested by Bert Belder.
2011-12-22 14:42:25 +01:00
Seong-Rak Choi
892ba87866
docs: fix javascript error on document page
...
`highlight()` is called twice. It causes following javascript error.
> Uncaught Found <pre> element with class="sh_sourcecode",
> but no such language exists
Fixes #2393 .
2011-12-22 17:32:21 +09:00
Shannen
ef659192a1
docs: use "Level 1" HTML5 features
...
Since we're using an HTML doctype we might as well use "Level 1" HTML5 features.
See more: http://mathiasbynens.be/notes/html5-levels#level-1
Fixes #2386 .
2011-12-22 17:30:41 +09:00
Ryan Dahl
6029127cea
Upgrade V8 to 3.6.6.15
2011-12-21 12:38:07 -08:00
Ryan Dahl
73cf8e82e7
Add HandleScope to http-parser binding
...
Fixes production crashes. We were not able to reproduce in the test suite.
2011-12-21 12:01:41 -08:00
koichik
07c27e040e
tls: Fix node swallows openssl error on request
...
Fixes #2308 .
Fixes #2246 .
2011-12-21 19:48:15 +01:00
Ben Noordhuis
7a7f1062bf
tls: remove duplicate assignment
2011-12-21 15:01:07 +01:00
Bert Belder
f4e34f1b76
Remove unnecessary statement
2011-12-20 17:15:22 +00:00
James Hartig
348d8cd04a
timers: remove _idleTimeout from item in .unenroll()
...
Stops .active() from reactivating the timer.
Fixes #2114 .
2011-12-20 00:57:15 +01:00
Fedor Indutny
d87f551f36
debugger: Request backtrace w/o refs, see #1745
...
Fixes #2379
2011-12-19 13:30:43 -08:00
Ryan Dahl
926365c9f8
add links to package manager on download page
2011-12-18 22:54:15 -08:00
Ben Noordhuis
4b455bafd0
module: improve process.dlopen() error messages
...
On Windows, that is. On Unices, we don't have a good way to translate dlopen()
and dlsym() errors (yet).
2011-12-18 22:35:09 +01:00
Ben Noordhuis
f322bbe729
uv: upgrade to feb267e
2011-12-18 22:35:08 +01:00