version 0.2.1
[fms.git] / libs / shttpd / io_dir.c
index 0534c62..e1b6d13 100644 (file)
@@ -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"
                    "<html><head><title>Index of %s</title>"
                    "<style>th {text-align: left;}</style></head>"