Ryan Dahl
66767edf12
Add CryptoStream.destroy()
14 years ago
Ryan Dahl
953561ab06
Factor out CryptoStream.end; support data on end()
14 years ago
Brian White
f1762ff815
Add os module and getHostname
14 years ago
Ryan Dahl
dc65cbd2e9
Factor out some _cycle functionality into Cleartext and EncrypteStreams
14 years ago
Ryan Dahl
70baeba8a9
Add receivedShutdown() binding
14 years ago
Ryan Dahl
d4f1ab00d2
Add EncryptedStream and CleartextStream classes
Towards half-closed secure sockets.
14 years ago
Ryan Dahl
c444293be9
Start a simple TLS client verification test
14 years ago
Ryan Dahl
5138992f3c
Add some verification code to tls.connect()
14 years ago
Ryan Dahl
a473b8dafb
Move getPeerCertificate and getCipher to CryptoStream
14 years ago
Ryan Dahl
2ca63c8f79
Initial implementation of tls.connect()
Seems to work checkout test/disabled/tls-client.js
Type "GET /" after connected.
14 years ago
Ryan Dahl
137c361517
pair.cleartext, pair.encrypted now instances of tls.CryptoStream
14 years ago
Ryan Dahl
0ea0b921b7
TLS: emit 'secureConnection' instead of two events
14 years ago
Ryan Dahl
a952231640
remove old todo
14 years ago
Ryan Dahl
13b14300b9
TLS: emit 'end' on both streams
14 years ago
Ryan Dahl
a0c55dfe09
TLS: don't use events when control hasn't been inverted
14 years ago
Ryan Dahl
0ec57ea34c
Some TLS clean ups
14 years ago
Ryan Dahl
5b8c62f7d1
Add broken, but detailed TLS verify test
Plus a bunch of keys.
14 years ago
Ryan Dahl
0b0faceb19
Move securepair stuff into tls.js
14 years ago
Ryan Dahl
5bca100afe
Server must not request cert.
14 years ago
Ryan Dahl
92789b16e5
Fix global leaks
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Devin Torres
8c6a7b5de4
Use more color in the repl, loosely inspired by TextMate's SunBurst theme
14 years ago
Brian White
e41e078159
Make sure REPL doesn't get borked when invalid REPL keywords are entered
14 years ago
Ryan Dahl
a0e9a510b0
Introduce require('tty')
You may need to reconfigure after this commit due to the new library.
14 years ago
Ryan Dahl
558e5ba2b0
lint util.js and src/node.js
14 years ago
isaacs
7c57eb2aec
lint url.js
14 years ago
Ryan Dahl
dd53ceebe4
lint
14 years ago
Ryan Dahl
e232f6e735
more lint
14 years ago
Ryan Dahl
09329cbb04
more lint
14 years ago
Ryan Dahl
f22c248e4c
more lint
14 years ago
Ryan Dahl
11ea8da9c3
lint child_process.js
14 years ago
Ryan Dahl
db78043d52
lint
14 years ago
Ryan Dahl
d8f2880ca4
New TLS server API
14 years ago
Ryan Dahl
ec1589875c
Stop watcher before calling .set() in Stream.prototype.resume
14 years ago
Ryan Dahl
5dab4be53c
Remove useless shouldVerify assignments
14 years ago
Ryan Dahl
89e398f075
Better array check in Cert Authority list
14 years ago
Ryan Dahl
855210ce0b
add shouldVerifyPeer param to SecurePairs
14 years ago
Michael W
5f3464cf4e
fixed timers, whoops.
Fixes issue https://github.com/ry/node/issues/issue/481
14 years ago
Ryan Dahl
4b947310b2
Move root certs out of JavaScript
14 years ago
Ryan Dahl
09157369b3
style
14 years ago
Ryan Dahl
70188499b0
Lazy load console object
14 years ago
Ryan Dahl
aed0ba3211
buffer.copy targetStart defaults to 0
14 years ago
Ryan Dahl
6d7242b485
Document defaults for buffer.copy()
14 years ago
Michael W
645c3b3713
Fixed: clearTimeouts calling multiple times
When clearTimeouts was called on a timer multiple times, it would break the
doubly-linked list along with future timeouts. This patch fixes that.
14 years ago
Travis Swicegood
22cf5a24db
Simplify execution from "big if statement"
This code is functionally equivalent, but in a simpler form. Now new
parameters to `execFile` do not require `exec` to be refactored.
14 years ago
Travis Swicegood
e514f575f3
Remove cruft that dealt with env parameter
Originally added in commit 078a48a9
, this code dealt with an optional
env parameter that was passed to `exec`. The parameter was removed, but
this code was left. As it serves no purpose, removing it.
14 years ago
Jeremy Martin
144b2a5338
Fix number of args emitted by EventEmitter during "fast case" (lte 3 args)
14 years ago
Oleg Slobodskoi
02083412eb
assert.throws can now accept as RegExp
makes validation of errors more flexible
14 years ago
Travis Swicegood
86727b15f3
fix a typo in comment
fixes issue 464
14 years ago
Evan Larkin
bc02d47b21
Fix variable leak.
Fixes issue 461
14 years ago