aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-hreq.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-13 23:24:13 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-26 16:08:07 +0200
commit7e674cc7202abfae0dd07df8805a0dea743bf4be (patch)
treeb3351f2b72c800e4c856a7aa340915885b6184f3 /src/afb-hreq.h
parentf2995647f0f79e816c7f46033e1ec824185732b5 (diff)
Use upgrade abitlity of libmicrohttpd
Since version 0.9.52, libmicrohttpd correctly handles upgrading of connections. Leveraging that feature is a best. Change-Id: Icde686cd9a3c12dda5ee74f354086ccff435796c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hreq.h')
-rw-r--r--src/afb-hreq.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/afb-hreq.h b/src/afb-hreq.h
index f4c00ff2..ff394e03 100644
--- a/src/afb-hreq.h
+++ b/src/afb-hreq.h
@@ -44,7 +44,6 @@ struct afb_hreq {
struct MHD_PostProcessor *postform;
struct hreq_data *data;
struct json_object *json;
- int upgrade;
};
extern int afb_hreq_unprefix(struct afb_hreq *request, const char *prefix, size_t length);