Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow session resumption (specially when client does not support rfc5…

…077 extension)
  • Loading branch information...
commit 877b16de8360dc7980edb9a20b52153629ae7325 1 parent d3a1f6b
emeric authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  stud.c
View
1  stud.c
@@ -287,6 +287,7 @@ static void shutdown_proxy(proxystate *ps, SHUTDOWN_REQUESTOR req) {
close(ps->fd_up);
close(ps->fd_down);
+ SSL_set_shutdown(ps->ssl, SSL_SENT_SHUTDOWN);
SSL_free(ps->ssl);
free(ps);

1 comment on commit 877b16d

@EmericBr
Owner

If SSL_SENT_SHUTDOWN is not set, session is freed from cache and renegociated each time if client does not support rfc5077 tickets (great performance impact).

ex: on intel atom hardware, using sslv3 client benchmark tool, i goes from 270 hit/s (stud renegociate each time) to 1730 hit/s (no renegotiation).

Please sign in to comment.
Something went wrong with that request. Please try again.