summaryrefslogtreecommitdiff
path: root/http-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-11-04 11:53:34 -0400
committerNick Mathewson <nickm@torproject.org>2010-11-04 11:53:36 -0400
commitf5b391e22eb119304877b3829f32a241a0688fa3 (patch)
tree9624628e5f80ade7d722a62e754e47155639fc64 /http-internal.h
parent75a73414a402005ddc2d2adde5a3acffc00d6382 (diff)
downloadlibevent-f5b391e22eb119304877b3829f32a241a0688fa3.tar.gz
Tweak interface for allowed methods
Diffstat (limited to 'http-internal.h')
-rw-r--r--http-internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/http-internal.h b/http-internal.h
index 5b3f6397..b320e2d6 100644
--- a/http-internal.h
+++ b/http-internal.h
@@ -145,8 +145,9 @@ struct evhttp {
size_t default_max_headers_size;
ev_uint64_t default_max_body_size;
- /* bitmask of all allowed methods */
- short allowed_methods;
+ /* Bitmask of all HTTP methods that we accept and pass to user
+ * callbacks. */
+ ev_uint16_t allowed_methods;
/* Fallback callback if all the other callbacks for this connection
don't match. */