Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
14 years ago
Ryan Dahl
2944e03a03
Closer to a working pipe
14 years ago
Ryan Dahl
1d3142a882
TCP clients should buffer writes before connection
14 years ago
Ryan Dahl
81ac0d5088
pipe-test fixes
14 years ago
Ryan Dahl
cdd1d675a7
Remove old tcp module
14 years ago
Ryan Dahl
8ab691726d
clean up options.end code - wasn't working
14 years ago
Micheil Smith
1af52d28ca
Changing http.js to use the same stream.Stream creation as net.js
14 years ago
Ryan Dahl
bc695475b9
Add Stream base class with stream.pipe
14 years ago
Ryan Dahl
f23eb282c0
Fix style
14 years ago
Ryan Dahl
783f5019b0
Add flag to disable colors in REPL
14 years ago
Ryan Dahl
39b9043bef
Use readline.columns in sys.inspect when possible
Though, this should probably be an option to sys.inspect and be set by REPL.
14 years ago
Ryan Dahl
d164989e3f
Commas last in sys.inspect
Ugly? Yes. More readable by first time users? Yes.
14 years ago
Sean Coates
ae87007478
add $ to variable name character matching patterns in repl completer
14 years ago
Ryan Dahl
0003c701bc
expose parsers freelist
14 years ago
Joshaven Potter
3d4e4d8909
syntax fixes to pass jslint
14 years ago
isaacs
8ff7954165
Fix #325 . Add test and check for zero-length file contents in fs.readFileSync
14 years ago
Ryan Dahl
38f8665f3a
lib/http.js - nested loop stepping on variables of outer loop
Fixes #318 .
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.
14 years ago
Marco Rogers
4a7562d28f
fix encoding option on ReadStream, updated test
14 years ago
Ryan Dahl
5829716649
Fix REPL crash on tabbing 'this.'
Thanks to Tim Becker for pointing this out.
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
c3bc48d451
Move the http client's initParser() into prototype
14 years ago
Ryan Dahl
f323f34353
writeable -> writable
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
069d973d74
Remove require('buffer') in built-in libraries.
14 years ago
Aaron Heckmann
7c5cc57ece
quicker loops
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
Tj Holowaychuk
893ebe7230
Fixed fs.ReadStream() start: 0 bug
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
Jorge Chamorro Bieling
fc334b3a97
sys.js: --needless Object.keys() --needless .map() in a single patch
14 years ago
Jorge Chamorro Bieling
8e246acd0e
sys.js: sys.inspect: show function names
14 years ago
Ryan Dahl
db73c71280
Pass correct message in HTTP client upgrade
Simplify and correct test.
Fix by Fedor Indutny.
14 years ago
Ryan Dahl
01b3418e2e
Move IOWatcher and Timer to process.binding
14 years ago
Ryan Dahl
31f8fa222e
Add require('constants')
14 years ago
Ryan Dahl
6eca948ca2
Move constants out of process object
14 years ago
Ryan Dahl
d2de8ba400
^c to get out of '...' in REPL
14 years ago
Ryan Dahl
42eb5a6898
Simplify REPL
14 years ago
Ryan Dahl
bbbcd1fee0
Safe constructors for fs.ReadStream and fs.WriteStream
14 years ago
Paul Querna
c8f9728de7
Move dns.isIP to net.isIP
Add tests and docs.
14 years ago
Ryan Dahl
251d03197f
Remove deprecation warnings in net module
14 years ago
Ryan Dahl
a63fd0fe56
Remove deprecation warnings in http module
14 years ago
Ryan Dahl
f08985c193
Handle writeStream errors in sys.pump
14 years ago