Ryan Dahl
66570c1964
Fix double free of parser on error in http.Agent.
Thanks to Stéphan Kochen for the fix and Maurice Fonk for reproducing the
bug.
Closes GH-784.
Closes GH-803.
14 years ago
Ryan Dahl
975d020286
Fix gcc version checking for aliasing features
14 years ago
Ryan Dahl
af923154e2
hello.txt should be stored in tmpdir
14 years ago
Ryan Dahl
f10150bc6a
Don't use https for blog.nodejs.org
14 years ago
Ryan Dahl
c02db3229e
Link to Node blog
14 years ago
Ryan Dahl
566c67b758
Working on v0.4.3-pre - oops
14 years ago
Ryan Dahl
61fdfcb137
Fix comment in node_provider.d
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Ryan Dahl
36e75b7351
Fix HTTP agent disconnection problem
https://groups.google.com/forum/#!topic/nodejs-dev/V5fB69hFa9o
Closes GH-787.
14 years ago
Felix Geisendörfer
9d4c5a12f4
Crypto update should only accept strings / buffers
I have seen a lot of people trying to pass objects to crypto's update
functions, assuming that it would somehow serialize the object before
hashing.
In reality, the object was converted to '[object Object]' which was
then hashed, without any error message showing.
This patch modifies the DecodeBytes function (used exclusively by
crypto at this point) to complain when receiving anything but a
string or buffer.
Overall this should be a less-suprising, more robust behavior.
14 years ago
Ryan Dahl
2a05fe784d
Do not use defineGetter in src/node.js for better crankshaft perf
See: https://groups.google.com/d/topic/nodejs/xJqpp1_s6is/discussion
14 years ago
Theo Schlossnagle
e3925b741c
TLS: Finer locks on _cycle.
Data being sent out of order.
14 years ago
Ryan Dahl
2e40328c82
Extend OpenSSL expiration dates
14 years ago
koichik
414fa4abae
Better type checks for fd in net.js
14 years ago
koichik
113b1e6e0c
Fix GH-746 process.stdin.destroy() breaks http server
14 years ago
Theo Schlossnagle
2a61e1cd49
without this the server will not advertise support for client certs
Closes GH-774.
14 years ago
Ryan Dahl
12c02b378d
Use pthread_kill for V8/Solaris sampling
14 years ago
Ryan Dahl
6802c90d1f
Sample correct registers on Solaris
http://codereview.chromium.org/6676019/
14 years ago
Ryan Dahl
97853e07de
Use default backend for __sun (event ports)
14 years ago
Ben Noordhuis
594642b31d
Buffer::Length(Buffer*) should not invoke itself recursively.
Closes GH-759.
14 years ago
Ryan Dahl
9a8e843ca3
Document options for https.request
Closes GH-768.
14 years ago
Ryan Dahl
e14aa64591
Fix V8 runtime profiler for solaris
14 years ago
koichik
4e047d32b0
Document net.Socket() constructor
14 years ago
Ryan Dahl
62f06fb885
CryptoStream.prototype.destroySoon shouldn't die if not writable
14 years ago
Ryan Dahl
161f7aacf7
Add missing v8:: namespace prefix
14 years ago
Tom Hughes
74954ce7d8
Add string class that uses ExternalAsciiStringResource.
Change the natives to use this class instead of creating completely new
strings. Reduces memory usage by about 1 MB.
14 years ago
Ryan Dahl
81d3de7e6d
setMaxListeners should initialize _events
14 years ago
Tom Hughes
7a272d92e3
cmake: explicitly disable fdatasync when building for OSX.
This ensures that the check_function_exists() for fdatasync in the
libeio CMakeLists.txt is not run, since that fails on some versions of
OSX (http://public.kitware.com/Bug/view.php?id=10044 ).
14 years ago
koichik
db6ea10948
Correct some links
14 years ago
koichik
07426ef29c
Document allowHalfOpen for net.createServer()
14 years ago
Andreas Reich
5e91042fcb
Don't decrease server connection counter again if destroy() is called more than once
Test: Anders Conbere <aconbere@gmail.com>
Fix: Andreas Reich <andreas@reich.name>
Closes GH-431.
Closes GH-502.
14 years ago
Ryan Dahl
39280e1b57
Bump version to v0.4.2
14 years ago
Ryan Dahl
fbe36a7ca9
Revert "Closes GH-85 Emit error rather than throwing."
This reverts commit f3d364122d
.
Landed in master instead.
14 years ago
Ryan Dahl
ca8be39b9e
Disable test-http-agent2.js for the moment
Still broken.
14 years ago
Bert Belder
b3884c574b
Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
14 years ago
Ryan Dahl
14475c77a6
Upgrade V8 to 3.1.8
14 years ago
Tom Hughes
cf7b680db9
newline should also be treated as "enter" key.
14 years ago
koichik
452df69964
Correct net.createServer() API docs
14 years ago
koichik
4e7c37b87c
Fix fs.WriteStream.end(data, [encoding]) throws TypeError
14 years ago
Ryan Dahl
4ab5476e89
SIGUSR1 should break the VM without delay
14 years ago
Ryan Dahl
5f95d9a75d
Remove -Werror from V8
14 years ago
isaacs
bc8e9b340d
Closes GH-734 Do the setuid() after chdir()
14 years ago
Bert Belder
4a34692903
Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
14 years ago
Ryan Dahl
6442cbef20
Upgrade V8 to 3.1.7
14 years ago
Ryan Dahl
a14bb04c05
tty.setWindowSize should use the correct function
Thanks to Matthew Woolman
14 years ago
Felix Geisendörfer
0304f1fc22
Expose errno with a string for dns/cares
This is to mirror the behavior introduced in
aa95e5708f
.
Closes GH-727.
14 years ago
isaacs
d664bf376d
Closes GH-711 URL parse more safely
This does 3 things:
1. Delimiters and "unwise" characters are never included in the
hostname or path.
2. url.format will sanitize string URLs that are passed to it.
3. The parsed url's 'href' member will be the sanitized url, which may
not match the argument to url.parse.
14 years ago
isaacs
3599c71dae
Closes GH-690 node_modules folders should be highest priority
14 years ago
isaacs
a48f73d0d3
Closes GH-232 Make the repl's global the right thing
14 years ago
isaacs
f3d364122d
Closes GH-85 Emit error rather than throwing.
Since "error" events will throw when unhandled anyhow, it makes no sense
to throw from an EventEmitter's method, especially for such a minor
misdemeanor as attempting to write to a non-writable stream.
14 years ago