diff options
Diffstat (limited to 'src/libwaitress')
-rw-r--r-- | src/libwaitress/waitress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libwaitress/waitress.c b/src/libwaitress/waitress.c index b5d30b6..8bb519a 100644 --- a/src/libwaitress/waitress.c +++ b/src/libwaitress/waitress.c @@ -854,7 +854,7 @@ static WaitressReturn_t WaitressSendRequest (WaitressHandle_t *waith) { } /* send request */ - if (WaitressProxyEnabled (waith)) { + if (WaitressProxyEnabled (waith) && !waith->url.tls) { snprintf (buf, WAITRESS_BUFFER_SIZE, "%s http://%s:%s/%s HTTP/" WAITRESS_HTTP_VERSION "\r\n", (waith->method == WAITRESS_METHOD_GET ? "GET" : "POST"), |