summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index d74642f..e402e61 100644
--- a/httpd.c
+++ b/httpd.c
@@ -388,6 +388,7 @@ void httpd_connection(FILE *f)
body, xs_dict_get(srv_config, "host"));
headers = xs_dict_append(headers, "WWW-Authenticate", www_auth);
+ headers = xs_dict_append(headers, "Cache-Control", "no-cache, must-revalidate, max-age=0");
}
if (ctype == NULL)
@@ -814,7 +815,7 @@ void httpd(void)
/* send as many exit jobs as working threads */
for (n = 1; n < p_state->n_threads; n++)
- job_post(xs_stock_false, 0);
+ job_post(xs_stock(XSTYPE_FALSE), 0);
/* wait for all the threads to exit */
for (n = 0; n < p_state->n_threads; n++)