aboutsummaryrefslogtreecommitdiff
path: root/src/examples/minimal_example_empty.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-12-22 16:30:12 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-12-22 18:25:49 +0300
commit5c3a61d68c04ebfd62695fa2a90e6212e42a1cae (patch)
tree6c1c02fde82d704d8233cca42d1719fe4c75eca9 /src/examples/minimal_example_empty.c
parent42be9415cbcdb23463a86fbee612b3809bf7ed0c (diff)
downloadlibmicrohttpd-5c3a61d68c04ebfd62695fa2a90e6212e42a1cae.tar.gz
libmicrohttpd-5c3a61d68c04ebfd62695fa2a90e6212e42a1cae.zip
Added new daemon option MHD_OPTION_CLIENT_DISCIPLINE_LV
Reject URIs with spaces as per RFC. Fixed check for space before colon in headers (previously it was checked only when MHD was NOT strict). Reject HTTP/1.1 requests without host by default (as per RFC).
Diffstat (limited to 'src/examples/minimal_example_empty.c')
-rw-r--r--src/examples/minimal_example_empty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/examples/minimal_example_empty.c b/src/examples/minimal_example_empty.c
index 3556d753..2c76654a 100644
--- a/src/examples/minimal_example_empty.c
+++ b/src/examples/minimal_example_empty.c
@@ -93,7 +93,6 @@ main (int argc,
93 (uint16_t) port, 93 (uint16_t) port,
94 NULL, NULL, &ahc_echo, NULL, 94 NULL, NULL, &ahc_echo, NULL,
95 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 120, 95 MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 120,
96 MHD_OPTION_STRICT_FOR_CLIENT, (int) 1,
97 MHD_OPTION_END); 96 MHD_OPTION_END);
98 if (d == NULL) 97 if (d == NULL)
99 return 1; 98 return 1;