diff options
| author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2012-11-15 12:28:02 +0000 |
|---|---|---|
| committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2012-11-15 12:28:02 +0000 |
| commit | 79a5c3118e395916ec60e32d56841118dd120997 (patch) | |
| tree | aba96eb7035a0422f5b67544392373ca204f5375 /testing/uwsgi/lua-async.patch | |
| parent | 8e40e50db1dea8da62e4a2280efabb5b35e07a98 (diff) | |
| download | aports-79a5c3118e395916ec60e32d56841118dd120997.tar.bz2 aports-79a5c3118e395916ec60e32d56841118dd120997.tar.xz | |
testing/uwsgi: package added
Diffstat (limited to 'testing/uwsgi/lua-async.patch')
| -rw-r--r-- | testing/uwsgi/lua-async.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/uwsgi/lua-async.patch b/testing/uwsgi/lua-async.patch new file mode 100644 index 0000000000..89c484afa5 --- /dev/null +++ b/testing/uwsgi/lua-async.patch @@ -0,0 +1,20 @@ +--- uwsgi-1.3/plugins/lua/lua_plugin.c ++++ uwsgi-1.3.alpine/plugins/lua/lua_plugin.c +@@ -306,6 +306,8 @@ + static int uwsgi_lua_input(lua_State *L) { + + struct wsgi_request *wsgi_req = current_wsgi_req(); ++ int fd = wsgi_req->async_post ? ++ fileno(wsgi_req->async_post) : wsgi_req->poll.fd; + ssize_t sum, len, total; + char *buf, *ptr; + +@@ -328,7 +330,7 @@ + + ptr = buf; + while(total) { +- len = read(wsgi_req->poll.fd, ptr, total); ++ len = read(fd, ptr, total); + ptr += len; + total -= len; + } |
