commit | 06c1199c0a68cfb48fdb19ae337450de64900e8c | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Fri Sep 21 15:34:47 2018 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Fri Sep 21 15:59:46 2018 +0200 |
tree | 1ff085cae1a5bb92e0ab2f3ab77a41189274adb2 | |
parent | 1b7463478e30c6855ea62db1f5647630f0acd24b [diff] [blame] |
Restore original streams when terminating TLS In theory we could return to communicate without TLS after a shutdown. It also makes sure the connection object isn't left completely without streams.
diff --git a/common/rfb/SSecurityTLS.h b/common/rfb/SSecurityTLS.h index 6d32e3b..6f71182 100644 --- a/common/rfb/SSecurityTLS.h +++ b/common/rfb/SSecurityTLS.h
@@ -65,6 +65,9 @@ rdr::InStream* tlsis; rdr::OutStream* tlsos; + + rdr::InStream* rawis; + rdr::OutStream* rawos; }; }