From 19935e58613c05704d255d8dd6d8b2f9b1d48613 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 19 Dec 2020 08:34:31 +0000 Subject: [PATCH] minimal-h-s-tls: bind to default http-only --- .../minimal-http-server-tls/minimal-http-server-tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal-examples/http-server/minimal-http-server-tls/minimal-http-server-tls.c b/minimal-examples/http-server/minimal-http-server-tls/minimal-http-server-tls.c index cb8c3136c..b55f666e6 100644 --- a/minimal-examples/http-server/minimal-http-server-tls/minimal-http-server-tls.c +++ b/minimal-examples/http-server/minimal-http-server-tls/minimal-http-server-tls.c @@ -27,7 +27,7 @@ static const struct lws_http_mount mount = { /* .mountpoint */ "/", /* mountpoint URL */ /* .origin */ "./mount-origin", /* serve from dir */ /* .def */ "index.html", /* default filename */ - /* .protocol */ NULL, + /* .protocol */ "http-only", /* .cgienv */ NULL, /* .extra_mimetypes */ NULL, /* .interpret */ NULL,