Fedor Indutny
f0c629a36b
uv: upgrade to e7758e1
2012-01-16 20:18:37 +06:00
Fedor Indutny
03e689fae4
Revert "util: always display a warning for module in debug mode"
...
This reverts commit df62005ece
.
2012-01-16 19:33:16 +06:00
Maciej Małecki
df62005ece
util: always display a warning for module in debug mode
2012-01-16 19:19:56 +06:00
Fedor Indutny
23de33968f
querystring: fix maxKeys = 0 is ignored
2012-01-16 16:36:24 +06:00
Fedor Indutny
f1678bfc65
http: do not accept headers if limit is exceeded
...
* fix limiting when parser was reused
* fix maxHeadersCount = 0 is ignored ( credit to @koichik )
* add test-http-max-headers-count.js ( credit to @koichik )
2012-01-16 16:36:23 +06:00
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.
2012-01-16 01:41:29 +01:00
Fedor Indutny
8a98c2f1d8
http, querystring: added limits to prevent DoS
2012-01-16 02:45:05 +06:00
Ben Noordhuis
93465d3051
build: support --dest-cpu configure switch again
2012-01-15 16:50:58 +01:00
Fedor Indutny
220288725f
test-eio-limit: add missing copyright headers
2012-01-14 23:51:53 +06:00
Fedor Indutny
e03b42d1bb
Add failing test-eio-limit.js
2012-01-14 23:48:56 +06:00
Ben Noordhuis
f0c1376e07
net: make .write() throw on bad input
...
Passing a non-buffer or non-string argument to Socket.prototype.write triggered
an assert:
Assertion failed: (Buffer::HasInstance(args[0])), function Write,
file ../src/stream_wrap.cc, line 289.
Fixes #2532 .
2012-01-14 02:13:24 +01:00
Guillermo Rauch
766f609838
website: Add "Api Docs" button next to "Download"
...
* Added Docs button and `button` class.
* Refactored download button style into `.button`
* Applied color overrides for download/docs buttons.
* Pointed docs link to latest available docs.
2012-01-12 14:24:40 -08:00
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.
2012-01-12 17:34:15 +01:00
Nathan Rajlich
f2ba4cef2a
build: remove the old -DPLATFORM="mac" define
...
To prevent redefinition warnings.
2012-01-12 15:11:02 +01:00
Nathan Rajlich
9ff86a2848
build: set `process.platform` to "darwin" on OS X
...
This is consistent with the old waf build system, and doesn't break old scripts
that are expecting the value to be "darwin".
Fixes #2518 .
2012-01-12 15:10:11 +01:00
Ben Noordhuis
465e22e62f
docs: clarify filename argument of vm.* functions
2012-01-12 14:44:41 +01:00
koichik
7dffbaf2ce
http: Upgrade/CONNECT request should detach its socket earlier
...
With Upgrade or CONNECT request, http.ClientRequest emits 'close' event
after its socket is closed. However, after receiving a response, the socket
is not under management by the request.
http.ClientRequest should detach the socket before 'upgrade'/'connect'
event is emitted to pass the socket to a user. After that, it should
emit 'close' event immediately without waiting for closing of the socket.
Fixes #2510 .
2012-01-12 14:17:19 +09:00
Igor Zinkovsky
247d0da188
update libuv to 855764406e
...
fixes #2521
2012-01-11 19:35:03 -08:00
Fedor Indutny
71ae175319
zlib: reset() method for deflate/inflate streams
...
* ammended test-zlib-dictionary to cover reusing streams
2012-01-12 03:19:19 +06:00
Fedor Indutny
89556f5a2f
zlib: C++ style fixes for dictionary
2012-01-12 03:11:31 +06:00
Fedor Indutny
9e6957b0a5
Merge branch 'v0.6'
...
Conflicts:
src/handle_wrap.cc
src/node_zlib.cc
src/process_wrap.cc
2012-01-12 02:17:44 +06:00
Fedor Indutny
07701e7cc8
zlib: C++ style fixes
2012-01-12 01:43:49 +06:00
Mathias Bynens
8abb73ef58
punycode: Update to v0.3.0
2012-01-11 10:42:39 +01:00
Maciej Małecki
b073989e17
makefile: ignore `lib/punycode.js` while linting
...
`punycode` is a third party code which generates a lot of lint errors.
Upstream was contacted in order to fix it in bestiejs/punycode.js#6, but
request was denied.
Therefore, it's reasonable to exclude this file from linting process.
Ref #2456 .
2012-01-11 10:42:33 +01:00
Andreas Madsen
c8108aad83
child_process: fix typo in internal message event name
2012-01-11 09:59:50 +01:00
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 .
2012-01-10 16:42:52 -08:00
Ryan Dahl
290bc0c067
Use .jpg instead of .bmp for .msi
...
smaller.
2012-01-10 14:26:22 -08:00
Maciej Małecki
4d49469d0d
child_process: fix typo in internal message event name
2012-01-10 23:16:07 +01:00
Ryan Dahl
e1b829d2a5
Add broken test-isolates3.js
2012-01-10 12:04:19 -08:00
Ben Noordhuis
0ad2717fd8
Make sure that zlib contexts are not garbage collected when busy
2012-01-10 21:01:19 +01:00
Bert Belder
2d8af39acc
Fix memory leak in node_zlib
2012-01-10 21:01:18 +01:00
Ryan Dahl
d4ee61ffc7
Add failing test-isolates2.js
2012-01-10 11:48:02 -08:00
Ryan Dahl
e6a30bd107
Fix #2473
...
Tested in production.
See also http://code.google.com/p/v8/issues/detail?id=1889
2012-01-10 10:49:38 -08:00
Fedor Indutny
4cbcdb4b2c
test: make debugger-repl tests work with isolates
2012-01-10 16:48:45 +01:00
Ben Noordhuis
7cee968c21
isolates: add process-global list of isolates
2012-01-10 16:46:41 +01:00
Fedor Indutny
6b2091b58a
debug threads
2012-01-10 02:28:49 +01:00
Fedor Indutny
99679c6430
IsolateDebugger C++
2012-01-10 02:28:42 +01:00
Fedor Indutny
44e7033279
fixed debugger segfaults
2012-01-10 02:19:14 +01:00
Fedor Indutny
a5f74b4da7
added isolates support
2012-01-10 02:19:14 +01:00
Ben Noordhuis
97e4b3a7bf
isolates: drain message queue completely
2012-01-10 02:09:08 +01:00
Andreas Madsen
787f62de8c
Improve test-child-process-silent
2012-01-09 13:04:13 -08:00
Ryan Dahl
b28e700ebd
require('sys') now throws
...
To be removed in v0.9
2012-01-09 12:59:28 -08:00
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 .
2012-01-09 20:54:37 +01:00
Ben Noordhuis
d5d043f2d7
handle_wrap: guard against uninitialized handle or double close
2012-01-09 20:54:37 +01:00
Ryan Dahl
8b28d599a7
Merge remote branch 'origin/v0.6'
...
Conflicts:
Makefile
configure
src/node_version.h
2012-01-09 11:20:22 -08:00
Ben Noordhuis
cc5cea35b0
uv: upgrade to 803f5a0
2012-01-09 15:46:30 +01:00
Ryunosuke SATO
22d7fe1206
events: fix checking max listeners with `1`
...
Fixes #2490 .
2012-01-09 04:02:01 +01:00
koichik
08a91acd76
http: better support for CONNECT method.
...
Introduces 'connect' event on both client (http.ClientRequest) and
server (http.Server).
Refs: #2259 , #2474 .
Fixes #1576 .
2012-01-09 03:51:06 +01:00
koichik
c1a63a9e90
tls: Allow establishing secure connection on the existing socket
...
This is necessary to use SSL over HTTP tunnels.
Refs #2259 , #2474 .
Fixes #2489 .
2012-01-09 02:31:46 +01:00
koichik
70033bd960
net: make connect() accept options
...
This makes API even with tls.connect().
Refs #1983 .
See also:
http://groups.google.com/group/nodejs-dev/msg/3b6dbcc4a9a82d99
Fixes #2487 .
2012-01-09 02:18:39 +01:00