ssl_send_certificate_error(): Don't sleep
authorFabian Keil <fk@fabiankeil.de>
Wed, 26 Feb 2020 13:57:38 +0000 (14:57 +0100)
committerFabian Keil <fk@fabiankeil.de>
Fri, 28 Feb 2020 06:31:27 +0000 (07:31 +0100)
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

ssl.c

diff --git a/ssl.c b/ssl.c
index 54d36a0..732cd25 100644 (file)
--- 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);
 }