Add support for TLS SNI

Signed-off-by: Augustin Cavalier <[email protected]>
This commit is contained in:
Mark Hellegers
2016-06-20 19:42:24 -04:00
committed by Augustin Cavalier
parent 82f44f2db1
commit e1c98ceaf7
4 changed files with 36 additions and 26 deletions
+1
View File
@@ -149,6 +149,7 @@ private:
private:
sockaddr_storage fAddress;
status_t fStatus;
BString fHostName;
};
+2 -2
View File
@@ -42,8 +42,8 @@ public:
virtual ssize_t Write(const void* buffer, size_t size);
protected:
status_t _SetupCommon();
status_t _SetupConnect();
status_t _SetupCommon(const char* host = NULL);
status_t _SetupConnect(const char* host = NULL);
status_t _SetupAccept();
private: