diff options
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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++) |