aboutsummaryrefslogtreecommitdiffstats
path: root/src/map.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-15 15:47:35 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-15 15:47:35 +0400
commite03d0749928abdff045de0bd2eeb21c5989a94c4 (patch)
tree2bf57f89c0c257b83aa0d61e4a37e8890486771a /src/map.h
parent3fbcf7f04616acf1f367af6d1c9c7ac271edf551 (diff)
downloadrspamd-e03d0749928abdff045de0bd2eeb21c5989a94c4.tar.gz
rspamd-e03d0749928abdff045de0bd2eeb21c5989a94c4.zip
* Add chunked replies support for http maps
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index 7a207c28e..c5029b958 100644
--- a/src/map.h
+++ b/src/map.h
@@ -27,6 +27,9 @@ struct http_map_data {
char *path;
char *host;
time_t last_checked;
+ gboolean chunked;
+ uint32_t chunk;
+ uint32_t chunk_read;
};
typedef u_char* (*map_cb_t)(memory_pool_t *pool, u_char *chunk, size_t len, struct map_cb_data *data);