file: add support for disabling cache related precondition checks via handlers
[project/uhttpd.git] / uhttpd.h
index f9ea76196ec1706553fab7a1adc9741ca45cb2ff..fe05f0d9284782dbdf1ec600a41f2042c3fa605e 100644 (file)
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -224,6 +224,7 @@ struct dispatch {
        void (*req_free)(struct client *cl);
 
        bool data_blocked;
+       bool no_cache;
 
        union {
                struct {
@@ -258,6 +259,7 @@ struct client {
        struct uh_addr srv_addr, peer_addr;
 
        struct blob_buf hdr;
+       struct blob_buf hdr_response;
        struct dispatch dispatch;
 };