Ryan Dahl
38f8665f3a
lib/http.js - nested loop stepping on variables of outer loop
Fixes #318 .
14 years ago
Ryan Dahl
48d7a1edc1
libev, libeio config.h files don't depend on arch
14 years ago
David Siegel
3faa3b56f3
libev libeio: added freebsd-x86 config headers
14 years ago
Ryan Dahl
29cc78f824
Simpler libev and libeio config
14 years ago
isaacs
e9b6b0b327
Report "weird" errors a little better.
There are a few kinds of errors that are very confusing.
1. Errors raised in nextTick
2. Errors emitted on the "error" event
3. RangeErrors that crash the program (or anything without a stack trace)
Long traces will make make these better, of course. In the meantime, this
adds a few handy signposts (in the form of better error reporting and
comments on the otherwise inscrutable code printed to the terminal) that can
help new users find the cause, or at least, ask for help more effectively.
14 years ago
Mark Nottingham
d59512f6f4
Add support for handling Expect: 100-continue
HTTP/1.1 requests, either with an event (check_continue) or automatically, if no event handler is present.
Add client-side expect/continue support, tests.
Expound upon client requirements for expect/continue.
15 years ago
Marco Rogers
4a7562d28f
fix encoding option on ReadStream, updated test
14 years ago
Ryan Dahl
c9627e0a0d
Upgrade V8 to 2.4.7
14 years ago
Ryan Dahl
5829716649
Fix REPL crash on tabbing 'this.'
Thanks to Tim Becker for pointing this out.
14 years ago
Ryan Dahl
5a4c40beea
Drop reference to timer callback on clearTimeout
Reported here:
http://groups.google.com/group/nodejs-dev/browse_thread/thread/9e063d0938f99879
Would be good to test this somehow...
14 years ago
Evan Larkin
914ff78df6
fs.ReadStream: Passing null for file position on all reads except the first read of a range read.
14 years ago
Ryan Dahl
265cda97d7
Fix zero length buffer bug for http res.end()
Reported by Kadir Pekel <kadirpekel@gmail.com>
14 years ago
Mark Nottingham
1b24fc6678
Consume HTTP trailing headers
14 years ago
Evan Larkin
43ddc04bb0
No longer using the global variable "stat" in unwatchFile
14 years ago
Ryan Dahl
5cc1428d5f
Remove unused function
14 years ago
Ryan Dahl
1a2c1c8a96
Simplify: per-module cache thing
14 years ago
Ryan Dahl
ee9af66990
Add test for getting parse error from HTTP client
Made this test in response to this thread:
http://groups.google.com/group/nodejs/browse_thread/thread/f82835007a277de2/
But Node appears to be working correctly.
14 years ago
Ryan Dahl
c3bc48d451
Move the http client's initParser() into prototype
14 years ago
Ryan Dahl
f323f34353
writeable -> writable
14 years ago
Ben Noordhuis
55c65cc2d5
Safe constructor for ObjectWrapped classes
New() methods should be invoked as constructors, not regular functions.
Corner cases like Script::New() may cause a SIGSEGV when the GC is run.
More details: http://groups.google.com/group/nodejs/browse_thread/thread/a7e5db68d4cd6356
14 years ago
Ryan Dahl
9911629de0
Fix style in node_crypto.cc
14 years ago
Ryan Dahl
163485c8aa
Rename some SecureStream methods
14 years ago
Ryan Dahl
7bd94712a8
lazy load crypto binding
14 years ago
Ryan Dahl
d89f8dce28
fix style in net.js
14 years ago
Ryan Dahl
fe060916ec
Put preprocessor defines into CPPFLAGS not compile flags...
14 years ago
Ryan Dahl
3a64c22cc1
Disable a few more libev features
14 years ago
Ryan Dahl
069d973d74
Remove require('buffer') in built-in libraries.
14 years ago
Aaron Heckmann
7c5cc57ece
quicker loops
14 years ago
Ryan Dahl
f9d6b074cf
output time of function calls
14 years ago
Ryan Dahl
353e2565d5
Fix timing on I/O benchmark
14 years ago
Ryan Dahl
3fc9192d0d
Add function_call benchmark
14 years ago
Fedor Indutny
5535aa3d51
Fixed 'upgrade' event for httpclient
onend and ondata was cleaning on parser end
14 years ago
isaacs
4d0456f827
Don't use stat in fs.readFile[Sync]
Original patch c/o Evan Larkin <evan.larkin.iit@gmail.com>
14 years ago
Ryan Dahl
4df999f85f
Revert "Upgrade V8 to 2.4.5"
This reverts commit e227441248
.
Build fails on mac
14 years ago
Tj Holowaychuk
893ebe7230
Fixed fs.ReadStream() start: 0 bug
14 years ago
Ryan Dahl
e227441248
Upgrade V8 to 2.4.5
14 years ago
Mikeal Rogers
cc1d61cbb3
HTTP: close connection on connection:close header.
rnewson found a good bug in keep-alive. we were only using the request
headers we send to enable/disable keep-alive but when the server sends
Connection: close we need to close down the connection regardless.
I wrote up a patch the Robert verified makes all his test client code work
now and I also added a new unittest for it.
14 years ago
isaacs
dff1b5ad10
Don't try to run extension loaders unless they're actually functions
14 years ago
Ryan Dahl
9922e4e433
Don't choose jobs based on processor
Leads to lots of builds with out-of-memory.
14 years ago
Ryan Dahl
754fde7325
More explicit openssl configure warning
14 years ago
Ryan Dahl
1b1bee8099
Fix test/message/undefined_reference_in_new_context
14 years ago
Tim-Smart
0f16af7ee4
Remove registerExtension, add .extensions. Tests.
Updated extensions tests
14 years ago
Jorge Chamorro Bieling
fc334b3a97
sys.js: --needless Object.keys() --needless .map() in a single patch
14 years ago
Ryan Dahl
354150f4e1
Tag release versions in 'process.version'
14 years ago
isaacs
bb08f0c219
Remove require.async
This patch removes require.async from nodejs.
1. It complicated the code unnecessarily.
2. Everyone uses sync require anyway.
3. It's got a lot of weird edge cases when mixed with sync require.
4. It is many months behind the commonjs spec anyhow.
14 years ago
Paul Querna
2d348bb985
Fatal error out if OpenSSL was not explicitly disabled, we just couldn't autodetect it.
14 years ago
Ryan Dahl
27af64ef46
Forgot to include node_main.cc
14 years ago
Jorge Chamorro Bieling
8e246acd0e
sys.js: sys.inspect: show function names
14 years ago
Ryan Dahl
1e63cd69f8
Update TODO
14 years ago
Ryan Dahl
124fbedc2f
Add node::Start()
first step towards building a libnode.a
14 years ago