From: Felix Fietkau Date: Sat, 15 Mar 2014 12:59:07 +0000 (+0100) Subject: ustream-ssl: always check connection at the beginning of a session X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5f8772f7b2d2866d1226320dbf25f0dd0507ffed;p=oweals%2Fustream-ssl.git ustream-ssl: always check connection at the beginning of a session Signed-off-by: Felix Fietkau --- diff --git a/ustream-ssl.c b/ustream-ssl.c index 0ae5df6..b182308 100644 --- a/ustream-ssl.c +++ b/ustream-ssl.c @@ -178,6 +178,7 @@ static int _ustream_ssl_init(struct ustream_ssl *us, struct ustream *conn, void conn->next = &us->stream; ustream_set_io(ctx, us->ssl, conn); ustream_ssl_stream_init(us); + ustream_ssl_check_conn(us); return 0; }