]> git.ipfire.org Git - thirdparty/cups.git/commit
tls-gnutls.c: Revert the option change in `gnutls_bye`
authorzdohnal <zdohnal@redhat.com>
Fri, 27 Jun 2025 04:18:08 +0000 (06:18 +0200)
committerGitHub <noreply@github.com>
Fri, 27 Jun 2025 04:18:08 +0000 (06:18 +0200)
commit0aad5ad722d0ca74ed7f5b2e9d56b81f36951d03
tree3984303c9b2c05459107b201b5537372e025112e
parent869415f82f5154b70e1a91413ee4ad345dec6337
parent17b176b4e50f5a91b574125d36b0f2c66e2a57f1
tls-gnutls.c: Revert the option change in `gnutls_bye`

Revert to the code from PR #365, because some TLS 1.2 implementations (e.g. Windows Server 2022) do not follow the standard properly, and sticking to standard would cause 20s-30s delays in printing over TLS.

With this change, both our TLS implementations behave the same - OpenSSL uses this option by default and it is not possible to change it, while GNUTLS provides this option to configure the closing behavior.