diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-06-16 18:26:18 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-06-16 18:26:18 +0200 |
commit | 242401f544df790b1df7d12b3be5f5b429da091c (patch) | |
tree | 5b35d49454c21740bede1a4ebe05d3d889d4758b /file.c | |
parent | fe01ef3f52adae9da38ef47926cd50974af5d6b7 (diff) |
uhttpd: add support for adding arbitrary headers via handler scripts
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -863,6 +863,7 @@ void uh_handle_request(struct client *cl) char *url = blobmsg_data(blob_data(cl->hdr.head)); char *error_handler; + blob_buf_init(&cl->hdr_response, 0); url = uh_handle_alias(url); uh_handler_run(cl, &url, false); |