Age | Commit message (Collapse) | Author |
|
|
|
Changes:
* 'http://github.com' => 'https://github.com'
* 'https://github.com/ry/node' => 'https://github.com/joyent/node'
* 'https://github.com/ry/http-parser' =>
'https://github.com/joyent/http-parser'
* old issue links
* wiki link
|
|
|
|
|
|
Fixes #1925.
|
|
Fixes #1969.
|
|
Fixes #1479.
Fixes #1923.
|
|
Fixes #1949.
|
|
This is to make room for master process plugins instead of adding CLI
options as proposed in #1879.
|
|
Use the *real* versions of the Date and RegExp functions, from the
prototype. This defends against code like:
var d = new Date()
d.toUTCString = null
util.inspect(d)
// TypeError: toUTCString is not a function
Fixes #1944.
|
|
While using `instanceof`, these functions could easily be faked with something
like: Object.create(Date.prototype)
So let's just not use it at all. A little slower, but these functions are only
used in the REPL / for debugging so it's OK.
Fixes #1941.
Fixes #1942.
|
|
As per discussion at:
http://groups.google.com/group/nodejs-dev/browse_thread/thread/b08970166e4670cf
|
|
Fixes #758.
Fixes #1055.
|
|
de09168 and 4cdf9d4 breaks `test/pummel/test-https-large-response.js`.
It is never finished.
Fixes #1936.
|
|
Also setting up a circular reference back to the
stream as `Stream.Stream`, for backwards-compatibility.
Fixes #1933
|
|
Too complex; unnecessary.
|
|
|
|
Just a syntactic sugar for doing, for example:
var server = net.createServer(function (c) {
c.end('goodbye, cruel world!\r\n');
server.close().on('close', function () {
console.log('really, goodbye!');
});
}).listen(1337);
Fixes #1922.
|
|
|
|
Fixes #1626
|
|
http2.js
protocols object to store defaults for http and https, and use as a switch for supported protocols.
options.hostname > options.host > 'localhost'
if I have an options.auth element and I do not have an Authorization header, I do basic auth.
http.request collapses to new ClientRequest since the defaults are handled by the protocol object
test-http-url.parse*
Fixes #1390
Conflicts:
lib/http2.js
|
|
added a .path property = .pathname + .search for use with http.request
And tests to verify everything.
With the tests, I changed over to deepEqual, and I would note the comment on the test
['.//g', 'f:/a', 'f://g'], which I think is a fundamental problem
This supersedes pull 1596
|
|
util.inspect() has a special case for "undefined", so it's nice to be able to
distinguish visually that undefined is the result of an expression.
|
|
|
|
Conflicts:
ChangeLog
Makefile
deps/libev/wscript
doc/index.html
doc/template.html
lib/net.js
src/node_version.h
src/platform_cygwin.cc
test/pummel/test-net-write-callbacks.js
test/simple/test-buffer.js
|
|
change test-http-dns-error to reflect this.
|
|
Fixes test/simple/test-tls-peer-certificate.js on Windows
Patch from bnoordhuis.
See also 75a0cf970fb48440a93a62796ab1f128fcbe7d76
|
|
|
|
This reverts commit b70fed48a7fb0ac884e6574253a89db6158b2f60.
|
|
Speeds up HTTP benchmarks by 10% on average.
|
|
|
|
util.inspect() has a special case for "undefined", so it's nice to be able to
distinguish visually that undefined is the result of an expression.
|
|
|
|
Fix #1484
Fix #1834
Fix #1482
Fix #771
It's been a while now, and we've seen how this separate context thing
works. It constantly confuses people, and no one actually uses '.clear'
anyway, so the benefit of that feature does not justify the constant
WTFery.
This makes repl.context actually be a getter that returns the global
object, and prints a deprecation warning. The '.clear' command is gone,
and will report that it's an invalid repl keyword. Tests updated to
allow the require, module, and exports globals, which are still
available in the repl just like they were before, by making them global.
|
|
This breaks fork().send({}, server._handle) after server.listen() because
server._handle is not set.
|
|
Breaks a few tests in "make test-message"
|
|
Fixes #1885.
|
|
Fixes #1894.
|
|
Add 'secureConnect' event to tls.CleartextStream.
Fixes #1467.
|
|
This commit fixes two bugs in the handling of write requests when the connect()
call is still in progress.
1. The deferred write request's size was counted twice towards `.bytesWritten`.
2. The callback was not called. After connecting, `Socket.write()` was called
with three arguments (data, encoding, cb) but it ignored the third argument.
Coincidentally fixes test/simple/test-net-connect-buffer.js.
|
|
|
|
Fixes #1516.
|
|
Fixes #1888.
|
|
|
|
Only register once for listening when passing a callback to Server.listen(),
this prevents servers recycled using close() from invoking the callback when
Server.listen() is called later.
|
|
|
|
|
|
|
|
Reading of JSON data off the buffer, 10-15% performance increase.
Fixes #1864.
|
|
Some of the perf improvements from many-writes-fix branch were accidentally
undone in that commit. This puts them back in.
|