pike.git/
src/
modules/
_Stdio/
async_tls_close_test.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2014-06-01
2014-06-01 11:49:27 by Martin Nilsson <nilsson@opera.com>
fc7f097bb1ec8f276c6721a793fc77192122621f (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
sslfile -> File and sslport -> port
21:
}); Stdio.File con = Stdio.File();
-
SSL.
sslfile
tlscon;
+
SSL.
File
tlscon;
con->async_connect ( "127.0.0.1", 36565, lambda (int success) { if (success) {
-
tlscon = SSL.
sslfile
(con, SSL.Context());
+
tlscon = SSL.
File
(con, SSL.Context());
tlscon->connect("localhost"); tlscon->set_write_callback (lambda () { fail = "Handshake should not succeed.\n";