Fix compiling on Windows without SSL
This commit is contained in:
@@ -56,6 +56,8 @@ public:
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* todo: Proper move semantics so to not allow copy-then-double-free and such problems of httpContext, etc. */
|
||||||
|
|
||||||
~TemplatedApp() {
|
~TemplatedApp() {
|
||||||
/* Let's just put everything here */
|
/* Let's just put everything here */
|
||||||
httpContext->free();
|
httpContext->free();
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
#define us_ssl_socket_context_adopt_socket us_socket_context_adopt_socket
|
#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_create_child_ssl_socket_context us_create_child_socket_context
|
||||||
#define us_ssl_socket_shutdown us_socket_shutdown
|
#define us_ssl_socket_shutdown us_socket_shutdown
|
||||||
|
#define us_ssl_socket_context_free us_socket_context_free
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace uWS {
|
namespace uWS {
|
||||||
|
|||||||
Reference in New Issue
Block a user