diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-03 17:03:49 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-03 17:03:49 +0100 |
commit | b7c85a2819b3869279a669d5681f574824589c6c (patch) | |
tree | da6639a596bd4d802ce1838582d6a86deac62be6 /uhttpd.h | |
parent | 12931edab795b7caeb70323e2959b5e5503c5980 (diff) |
implement proper flow control for relaying postdata
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -144,6 +144,8 @@ struct dispatch { void (*write_cb)(struct client *cl); void (*close_fds)(struct client *cl); void (*free)(struct client *cl); + bool data_blocked; + union { struct { struct blob_attr **hdr; @@ -208,6 +210,7 @@ void __printf(4, 5) uh_client_error(struct client *cl, int code, const char *summary, const char *fmt, ...); void uh_handle_request(struct client *cl); +void client_poll_post_data(struct client *cl); void uh_auth_add(const char *path, const char *user, const char *pass); bool uh_auth_check(struct client *cl, struct path_info *pi); |