From 75b712189a7ae2f19255e794de7b7b0bd4f20a3f Mon Sep 17 00:00:00 2001 From: Ciaran Cain Date: Tue, 24 Sep 2024 18:59:57 +0000 Subject: [PATCH] Change type for TLS on_remote_close callback param --- base/src/net.act | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/net.act b/base/src/net.act index d19f8cb5..836f76cc 100644 --- a/base/src/net.act +++ b/base/src/net.act @@ -292,7 +292,7 @@ actor TCPListener(cap: TCPListenCap, address: str, port: int, on_error: action(T NotImplemented _init() -actor TLSConnection(cap: TCPConnectCap, address: str, port: int, on_connect: action(TLSConnection) -> None, on_receive: action(TLSConnection, bytes) -> None, on_error: action(TLSConnection, str) -> None, on_remote_close: ?action(TCPListenConnection) -> None, verify_tls: bool=True): +actor TLSConnection(cap: TCPConnectCap, address: str, port: int, on_connect: action(TLSConnection) -> None, on_receive: action(TLSConnection, bytes) -> None, on_error: action(TLSConnection, str) -> None, on_remote_close: ?action(TLSConnection) -> None, verify_tls: bool=True): # TODO: support hostname/CN mismatch, good when connecting with IP address? # TODO: do DNS lookup in Acton # TODO: support ALPN