summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-15 13:59:07 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-15 13:59:07 +0100
commit5f8772f7b2d2866d1226320dbf25f0dd0507ffed (patch)
treed8205c87edeaf98f14f7aa37fb261f2b10c58e72
parent84c7f315bccabaa9853264a4e640f58cdb6b4ed4 (diff)
downloadustream-ssl-5f8772f7b2d2866d1226320dbf25f0dd0507ffed.tar.gz
ustream-ssl: always check connection at the beginning of a session
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--ustream-ssl.c1
1 files changed, 1 insertions, 0 deletions
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;
}