Theo Schlossnagle
d0e84b0088
Pass secureProtocol through on tls.Server creation
The secureProtocol option to building the SSL context was not being properly
passed through in the credentials in the tls code. This is fixed.
14 years ago
Ryan Dahl
c0b461d9a1
Increase TLS pool size for perf increase
14 years ago
Ryan Dahl
7e28630f5e
Fix GH-820. CryptoStream.end shouldn't throw if not writable
This matches the behavior of net.Socket
14 years ago
Ryan Dahl
55048cdf79
Update copyright headers
14 years ago
Theo Schlossnagle
e3925b741c
TLS: Finer locks on _cycle.
Data being sent out of order.
14 years ago
Ryan Dahl
62f06fb885
CryptoStream.prototype.destroySoon shouldn't die if not writable
14 years ago
Ryan Dahl
a2f498a5ef
Revert "Add extra debug print statement to tls.js"
This reverts commit 340291c085
.
sometimes circular. would break node_g tests.
14 years ago
Ryan Dahl
340291c085
Add extra debug print statement to tls.js
14 years ago
Ryan Dahl
ab144f4843
Add TODO item
14 years ago
Ryan Dahl
c2a62951f6
TLS sockets should not be writable after 'end'
Closes GH-694.
14 years ago
Ryan Dahl
19b4c27ebf
TLS: Make _cycle reentrant.
14 years ago
Ryan Dahl
c365f56061
https was missing 'end' event sometimes
Closes GH-671.
14 years ago
Theo Schlossnagle
01a864a29d
TLS: CRL support
Needs more tests.
14 years ago
Ryan Dahl
dafd6d9137
TLS: Don't give up if you can't write 0 bytes
14 years ago
Ryan Dahl
a48a075535
better debug messages in net and tls
14 years ago
Ryan Dahl
9de5043b50
tls: only emit data after 'secure' event
14 years ago
Ryan Dahl
448e0f4394
tls fixes
14 years ago
Ryan Dahl
f6e5b8986f
Clean up
14 years ago
Ryan Dahl
97f7c06451
TLS: fix throttling
Re-enable test-https-large-response.js
Closes GH-614.
14 years ago
Ryan Dahl
3e58696c07
TLS: Simplify error handling
14 years ago
Ryan Dahl
41b4ec7952
TLS: flush buffer before destroy
Also disable test-https-large-response.js. Covered by
test/simple/test-tls-throttle.js
14 years ago
Ryan Dahl
e6f14d6df5
(suck, blow) -> (pull, push)
14 years ago
Ryan Dahl
2ff593ad23
TLS: better error reporting at binding layer
Closes GH-612.
14 years ago
Ryan Dahl
3e5b568504
TLS: Add _pendingBytes()
14 years ago
Ryan Dahl
45b30a879b
tls: superficial clean up
14 years ago
Ryan Dahl
df5d5d6342
Fix option parsing in tls.connect()
14 years ago
Ryan Dahl
bfb6a67d60
Another fix for process.assert
14 years ago
Ryan Dahl
9e976abad9
lint
14 years ago
Alexis Sellier
66b418d6f3
make 'readyState' available to CryptoStream
14 years ago
Ryan Dahl
2f6cb66009
Add setEncoding to CryptoStream
14 years ago
Ryan Dahl
4d0416caf6
Add setNoDelay to cryptostream
14 years ago
Ryan Dahl
2e76cd382f
TLS: Forward errors to cleartext
But only after control has been inverted.
14 years ago
Ryan Dahl
5a05992155
Lint
14 years ago
Ryan Dahl
2957382991
Implement new stream method, destroySoon
Still missing on fs.WriteStream
14 years ago
Ryan Dahl
94f8368cf9
First pass at new https server
14 years ago
Ryan Dahl
e4dd5cd6fd
NODE_DEBUG uses strings instead of bitflags
14 years ago
Ryan Dahl
8db0bbe0dc
Add callback to CryptoStream.write
14 years ago
Ryan Dahl
41d73e02a2
cleartext.socket always exists
14 years ago
Ryan Dahl
bb27885251
TLS: check we're not disconnected before Cleartext blow
14 years ago
Ryan Dahl
3cf2cbf904
Parse issuer and subject from CryptoStream.getPeerCertificate
14 years ago
Ryan Dahl
a59483bd1d
TLS: server should die on junk
14 years ago
Ryan Dahl
e3d1808ef0
Rename node::SecureStream to node::crypto::Connection
node::SecureStream is definitely not a "stream" in the Node sense. Renaming
it to avoid ambiguity. (Adding namespace to not confuse with some other
Connection object.)
14 years ago
Ryan Dahl
6636bfaa0a
TLS: Simplify code from suck and blow
14 years ago
Ryan Dahl
66767edf12
Add CryptoStream.destroy()
14 years ago
Ryan Dahl
953561ab06
Factor out CryptoStream.end; support data on end()
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