Fix compiling on Windows without SSL

This commit is contained in:
Alex Hultman
2019-01-05 00:39:46 +01:00
parent 287c7dbe7f
commit c953d2b2bb
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -56,6 +56,8 @@ public:
}
/* todo: Proper move semantics so to not allow copy-then-double-free and such problems of httpContext, etc. */
~TemplatedApp() {
/* Let's just put everything here */
httpContext->free();
+1
View File
@@ -43,6 +43,7 @@
#define us_ssl_socket_context_adopt_socket us_socket_context_adopt_socket
#define us_create_child_ssl_socket_context us_create_child_socket_context
#define us_ssl_socket_shutdown us_socket_shutdown
#define us_ssl_socket_context_free us_socket_context_free
#endif
namespace uWS {