We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SSL_TLSEXT_ERR_NOACK
1 parent 1782d07 commit be68dadCopy full SHA for be68dad
1 file changed
src/callbacks.rs
@@ -160,6 +160,12 @@ impl ServerNameCallbackConfig {
160
161
match result {
162
SSL_TLSEXT_ERR_OK => Ok(()),
163
+ // in practice no client does anything if SNI is not acked, and rustls
164
+ // acks any syntactically valid extension (and ignores invalid ones, because OpenSSL)
165
+ SSL_TLSEXT_ERR_NOACK => {
166
+ log::trace!("NYI: SSL_TLSEXT_ERR_NOACK returned from SSL_CTX_servername_callback_func (acking the extension anyway)");
167
+ Ok(())
168
+ }
169
_ => Err(Error::not_supported(
170
"SSL_CTX_servername_callback_func return error",
171
)),
0 commit comments