Skip to content

Commit 890d472

Browse files
committed
Fixed URI secure flag not set correctly
1 parent 9e0db8a commit 890d472

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

websocketpp/uri.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,12 +427,12 @@ class uri {
427427
}
428428
else if (schema == "https")
429429
{
430-
m_secure = false;
430+
m_secure = true;
431431
m_type = http;
432432
}
433433
else if (schema == "http")
434434
{
435-
m_secure = true;
435+
m_secure = false;
436436
m_type = http;
437437
} else {
438438
return;

0 commit comments

Comments
 (0)