File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Release/src/http/listener Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,17 @@ static void check_listener_uri(const http::uri &address)
42
42
43
43
#ifdef _MS_WINDOWS
44
44
// HTTP Server API includes SSL support
45
- if (address.scheme () != U (" http" ) && address.scheme () != U (" https" ))
45
+ if (address.scheme () != U (" http" ) && address.scheme () != U (" https" ))
46
46
{
47
47
throw std::invalid_argument (" URI scheme must be 'http' or 'https'" );
48
48
}
49
49
#else
50
- if (address.scheme () == U (" https" ))
50
+ if (address.scheme () == U (" https" ))
51
51
{
52
52
throw std::invalid_argument (" Listeners using 'https' are not yet supported" );
53
53
}
54
54
55
- if (address.scheme () != U (" http" ))
55
+ if (address.scheme () != U (" http" ))
56
56
{
57
57
throw std::invalid_argument (" URI scheme must be 'http'" );
58
58
}
You can’t perform that action at this time.
0 commit comments