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) | |||
| 388 | body, xs_dict_get(srv_config, "host")); | 388 | body, xs_dict_get(srv_config, "host")); |
| 389 | 389 | ||
| 390 | headers = xs_dict_append(headers, "WWW-Authenticate", www_auth); | 390 | headers = xs_dict_append(headers, "WWW-Authenticate", www_auth); |
| 391 | headers = xs_dict_append(headers, "Cache-Control", "no-cache, must-revalidate, max-age=0"); | ||
| 391 | } | 392 | } |
| 392 | 393 | ||
| 393 | if (ctype == NULL) | 394 | if (ctype == NULL) |
| @@ -814,7 +815,7 @@ void httpd(void) | |||
| 814 | 815 | ||
| 815 | /* send as many exit jobs as working threads */ | 816 | /* send as many exit jobs as working threads */ |
| 816 | for (n = 1; n < p_state->n_threads; n++) | 817 | for (n = 1; n < p_state->n_threads; n++) |
| 817 | job_post(xs_stock_false, 0); | 818 | job_post(xs_stock(XSTYPE_FALSE), 0); |
| 818 | 819 | ||
| 819 | /* wait for all the threads to exit */ | 820 | /* wait for all the threads to exit */ |
| 820 | for (n = 0; n < p_state->n_threads; n++) | 821 | for (n = 0; n < p_state->n_threads; n++) |