The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-tls-hello-parser-failure.js @ 6f043940

History | View | Annotate | Download (1.99 KB)

# Date Author Comment
8a65df9b 07/10/2013 03:48 AM Ben Noordhuis

test: fix up indentation, replace tabs with spaces

4c38742d 07/01/2013 08:41 PM Timothy J Fontaine

test: fix tls-hello-parser-failure on smartos

Assert that when the client closes it has seen an error, this prevents
the test from timing out.

Also queue a second write in the case that we were able to send the
buffer before the other side closed the connection.

f7ff8b44 05/24/2013 06:03 PM Fedor Indutny

tls: retry writing after hello parse error

When writing bad data to EncryptedStream it'll first get to the
ClientHello parser, and, only after it will refuse it, to the OpenSSL.
But ClientHello parser has limited buffer and therefore write could
return `bytes_written` < `incoming_bytes`, which is not the case when...