commit 8d2327570ca1df12f19e4618f94ef22c2ad27450
parent bbb245654d89f844f801a7c5a1b9a0aaac7d319a
Author: Joris Vink <joris@coders.se>
Date: Wed, 14 Aug 2013 15:13:09 +0200
add cb_extra to http_requests so its a bit easier to pass certain data between handler functions (kore won't touch cb_extra).
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/includes/http.h b/includes/http.h
@@ -55,6 +55,7 @@ struct http_request {
struct connection *owner;
struct spdy_stream *stream;
struct kore_buf *post_data;
+ void *cb_extra;
TAILQ_HEAD(, http_header) req_headers;
TAILQ_HEAD(, http_header) resp_headers;