|
@@ -2095,8 +2095,6 @@ int s_server_main(int argc, char *argv[])
|
|
|
if (max_early_data >= 0)
|
|
|
SSL_CTX_set_max_early_data(ctx, max_early_data);
|
|
|
|
|
|
- BIO_printf(bio_s_out, "ACCEPT\n");
|
|
|
- (void)BIO_flush(bio_s_out);
|
|
|
if (rev)
|
|
|
server_cb = rev_body;
|
|
|
else if (www)
|
|
@@ -2109,7 +2107,7 @@ int s_server_main(int argc, char *argv[])
|
|
|
unlink(host);
|
|
|
#endif
|
|
|
do_server(&accept_socket, host, port, socket_family, socket_type, protocol,
|
|
|
- server_cb, context, naccept);
|
|
|
+ server_cb, context, naccept, bio_s_out);
|
|
|
print_stats(bio_s_out, ctx);
|
|
|
ret = 0;
|
|
|
end:
|
|
@@ -2673,9 +2671,6 @@ static int sv_body(int s, int stype, int prot, unsigned char *context)
|
|
|
}
|
|
|
BIO_printf(bio_s_out, "CONNECTION CLOSED\n");
|
|
|
OPENSSL_clear_free(buf, bufsize);
|
|
|
- if (ret >= 0)
|
|
|
- BIO_printf(bio_s_out, "ACCEPT\n");
|
|
|
- (void)BIO_flush(bio_s_out);
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
@@ -3284,8 +3279,6 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
|
|
|
SSL_set_shutdown(con, SSL_SENT_SHUTDOWN | SSL_RECEIVED_SHUTDOWN);
|
|
|
|
|
|
err:
|
|
|
- if (ret >= 0)
|
|
|
- BIO_printf(bio_s_out, "ACCEPT\n");
|
|
|
OPENSSL_free(buf);
|
|
|
BIO_free_all(io);
|
|
|
return ret;
|