diff options
author | 2009-04-26 09:02:17 -0400 | |
---|---|---|
committer | 2009-04-26 09:02:17 -0400 | |
commit | bc7a09d702e53faaa882bb7b2591abe68ff5648e (patch) | |
tree | 0405c498a9fae8ff066ca8fdeafa8f85b0615dbe /src/c/driver.c | |
parent | 609db88f316604bf1084dbb0defe5e6c0eaf07ae (diff) |
Returning a blob as page result
Diffstat (limited to 'src/c/driver.c')
-rw-r--r-- | src/c/driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/driver.c b/src/c/driver.c index c95f8886..63a7d224 100644 --- a/src/c/driver.c +++ b/src/c/driver.c @@ -194,7 +194,7 @@ static void *worker(void *data) { if (s = strstr(buf, "\r\n\r\n")) { failure_kind fk; - int is_post = 0; + int is_post = 0, do_normal_send = 1; char *boundary = NULL; size_t boundary_len; char *cmd, *path, *headers, path_copy[uw_bufsize+1], *inputs, *after_headers; @@ -433,7 +433,7 @@ static void *worker(void *data) { strcpy(path_copy, path); fk = uw_begin(ctx, path_copy); - if (fk == SUCCESS) { + if (fk == SUCCESS || fk == RETURN_BLOB) { uw_commit(ctx); break; } else if (fk == BOUNDED_RETRY) { |