diff options
Diffstat (limited to 'testing/uwsgi/lua-async.patch')
-rw-r--r-- | testing/uwsgi/lua-async.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/testing/uwsgi/lua-async.patch b/testing/uwsgi/lua-async.patch deleted file mode 100644 index 89c484afa5..0000000000 --- a/testing/uwsgi/lua-async.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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; - } |