mirror of
https://github.com/cesanta/mongoose.git
synced 2026-09-30 21:42:42 +07:00
PUBLISHED_FROM=2fc7b59b2edd0f473acd22067439471778acef8e
This commit is contained in:
committed by
Cesanta Bot
parent
944a6b761c
commit
fea648496c
@@ -7919,6 +7919,9 @@ struct mg_connection *mg_connect_http_base(
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* If query is present, do not strip it. Pass to the caller. */
|
||||
if (query.len > 0) path->len += query.len + 1;
|
||||
|
||||
if (scheme.len == 0 || mg_vcmp(&scheme, scheme1) == 0 ||
|
||||
(scheme2 != NULL && mg_vcmp(&scheme, scheme2) == 0)) {
|
||||
use_ssl = 0;
|
||||
|
||||
Reference in New Issue
Block a user