X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_cache_api.c;fp=http_cache_api.c;h=832656466972a38be1a69ead9a98e14f798b4fb9;hp=582c3ccd455d764b26fcec0134ec58dff88080ea;hb=1da2a264d5f4acfced8f76c28636e58db39b30be;hpb=9ba68660f21ea9481af483dffd666ae5bee72d11 diff --git a/http_cache_api.c b/http_cache_api.c index 582c3cc..8326564 100644 --- a/http_cache_api.c +++ b/http_cache_api.c @@ -230,6 +230,8 @@ void _http_ob_etaghandler(char *output, uint output_len, http_send_etag_ex(etag, strlen(etag), &sent_header); if (http_match_etag("HTTP_IF_NONE_MATCH", etag)) { + /* force exit; ob within ob does not work */ + HTTP_G->force_exit = 1; http_exit_ex(304, sent_header, etag, 0); }