diff --git a/src/App.h b/src/App.h index 18fe9aa..cce04cd 100644 --- a/src/App.h +++ b/src/App.h @@ -45,6 +45,12 @@ public: return std::move(*this); } + TemplatedApp &&removeServerName(std::string hostname_pattern) { + + us_socket_context_remove_server_name(SSL, (struct us_socket_context_t *) httpContext, hostname_pattern.c_str()); + return std::move(*this); + } + /* Returns the SSL_CTX of this app, or nullptr. */ void *getNativeHandle() { return us_socket_context_get_native_handle(SSL, (struct us_socket_context_t *) httpContext); diff --git a/uSockets b/uSockets index 5c4116f..cd62d44 160000 --- a/uSockets +++ b/uSockets @@ -1 +1 @@ -Subproject commit 5c4116f2fadd52359b8c9b7364f4fc860d7dbf68 +Subproject commit cd62d4409bcebc1bf2ff72acf8113269b7ecc675