diff options
author | Roberto De Ioris <roberto@unbit.it> | 2012-10-18 12:32:02 +0200 |
---|---|---|
committer | Roberto De Ioris <roberto@unbit.it> | 2012-10-18 12:32:02 +0200 |
commit | ef80a7bba908cb9786bac560f9c3cb390429829b (patch) | |
tree | edfe4b346921312891262ffd20abc87960689f7c /core/sendfile.c | |
parent | 8a65125ae58894518ed2532476b7a0a195ecc7cf (diff) | |
download | uwsgi-ef80a7bba908cb9786bac560f9c3cb390429829b.tar.gz |
fixed offload to thread
Diffstat (limited to 'core/sendfile.c')
-rw-r--r-- | core/sendfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sendfile.c b/core/sendfile.c index 999e22a7..1bf63202 100644 --- a/core/sendfile.c +++ b/core/sendfile.c @@ -28,6 +28,7 @@ int uwsgi_offload_request_do(struct wsgi_request *wsgi_req, char *filename, size uor.pos = 0; uor.len = len; uor.written = 0; + uor.buf = NULL; uor.prev = NULL; uor.next = NULL; |