Add vrequest_is_handled function

personal/stbuehler/wip
Stefan Bühler 14 years ago
parent 6a92322143
commit e020850dc8
  1. 1
      include/lighttpd/virtualrequest.h
  2. 4
      src/virtualrequest.c

@ -124,6 +124,7 @@ LI_API void vrequest_handle_response_body(vrequest *vr);
LI_API gboolean vrequest_handle_direct(vrequest *vr);
/* handle request over time */
LI_API gboolean vrequest_handle_indirect(vrequest *vr, plugin *p);
LI_API gboolean vrequest_is_handled(vrequest *vr);
LI_API void vrequest_state_machine(vrequest *vr);
LI_API void vrequest_joblist_append(vrequest *vr);

@ -263,6 +263,10 @@ gboolean vrequest_handle_indirect(vrequest *vr, plugin *p) {
}
}
gboolean vrequest_is_handled(vrequest *vr) {
return vr->state >= VRS_READ_CONTENT;
}
static gboolean vrequest_do_handle_actions(vrequest *vr) {
handler_t res = action_execute(vr);
switch (res) {

Loading…
Cancel
Save