Skip to content

Commit

Permalink
Merge pull request #1928 from ciaran2/fix-tls-callback
Browse files Browse the repository at this point in the history
Change type for TLS on_remote_close callback param
  • Loading branch information
plajjan authored Sep 25, 2024
2 parents 5b6fb13 + 75b7121 commit 6636675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/src/net.act
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6636675

Please sign in to comment.