gtlsclient: Honor --disable-early-data
@@ -145,9 +145,11 @@ int TLSClientSession::init(bool &early_data_enabled,
return -1;
}
+ if (!config.disable_early_data) {
early_data_enabled = true;
}
}
+ }
gnutls_session_set_ptr(session_, client->conn_ref());
