X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=libs%2Fshttpd%2Fio_dir.c;h=e1b6d1351d7b699c286893ea247c4b2edb9d67b0;hp=0534c623a270273c07800433dba24005dfa25a50;hb=1dee4e3cd008a27789bbce05b0eb47b0eb5d121a;hpb=3dc3ac3cfe10b7196a7977e9c041c29fa141c35e diff --git a/libs/shttpd/io_dir.c b/libs/shttpd/io_dir.c index 0534c62..e1b6d13 100644 --- a/libs/shttpd/io_dir.c +++ b/libs/shttpd/io_dir.c @@ -121,6 +121,7 @@ get_dir(struct conn *c) } else { c->loc.io.head = my_snprintf(c->loc.io.buf, c->loc.io.size, "HTTP/1.1 200 OK\r\n" + "Connection: close\r\n" "Content-Type: text/html; charset=utf-8\r\n\r\n" "Index of %s" ""