mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
update comment
This commit is contained in:
parent
83b29c0276
commit
0f1caadc03
1 changed files with 3 additions and 1 deletions
|
|
@ -129,7 +129,9 @@ pub fn new_tls_client_connection(
|
|||
// Prevent session resumption (certificate change ability in runtime)
|
||||
tls_client_connection.set_property("session-resumption-enabled", is_session_resumption);
|
||||
|
||||
// @TODO handle
|
||||
// Return `Err` on server connection mismatch following specification lines:
|
||||
// > Gemini servers MUST use the TLS close_notify implementation to close the connection
|
||||
// > A client SHOULD notify the user of such a case
|
||||
// https://geminiprotocol.net/docs/protocol-specification.gmi#closing-connections
|
||||
tls_client_connection.set_require_close_notify(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue