From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 26 Feb 2020 13:57:38 +0000 (+0100)
Subject: ssl_send_certificate_error(): Don't sleep
X-Git-Tag: v_3_0_29~469
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/user-manual/@proxy-info-url@?a=commitdiff_plain;h=01b68ef7c45752c231b26ed531e01bbf8dc1bc8b;p=privoxy.git

ssl_send_certificate_error(): Don't sleep

Supposedly some clients once apon a time needed
the delay but it's unclear which. Let's see if
any show up.

Sponsored by: Robert Klemme
---

diff --git a/ssl.c b/ssl.c
index 54d36a0e..732cd25b 100644
--- a/ssl.c
+++ b/ssl.c
@@ -1764,11 +1764,6 @@ extern void ssl_send_certificate_error(struct client_state *csp)
     */
    ssl_send_data(&(csp->mbedtls_client_attr.ssl),
       (const unsigned char *)message, strlen(message));
-   /*
-    * Waiting before closing connection. Some browsers don't show received
-    * message if there isn't this delay.
-    */
-   sleep(1);
 
    free_certificate_chain(csp);
 }