From 47aaedd26a5ebabb3f009ca0c24c130c46558352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 21 Sep 2014 00:58:19 +0200 Subject: Implement the HTTP plugin Ended up including Joyent's http-parser library. --- plugin-api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin-api.h') diff --git a/plugin-api.h b/plugin-api.h index 3406308..7a73c59 100644 --- a/plugin-api.h +++ b/plugin-api.h @@ -50,11 +50,11 @@ struct service // FIXME: the dependency on `struct str' is not very good void (*on_data) (void *handle, struct unit *u, struct str *data); - // XXX: do we need these at all? Is there any use for them? - /// Server has closed the connection void (*on_eof) (void *handle, struct unit *u); + // XXX: do we need these at all? Is there any use for them? + /// Network or other error has occured void (*on_error) (void *handle, struct unit *u); -- cgit v1.2.3