lua-resty-upload icon indicating copy to clipboard operation
lua-resty-upload copied to clipboard

Streaming reader and parser for http file uploading based on ngx_lua cosocket

Results 21 lua-resty-upload issues
Sort by recently updated
recently updated
newest added

Many (if not all) mainstream web servers, Apache(`mod_upload`) and Nginx(`upload module`) for instance are compatible to request use LF as line break: > https://github.com/Austinb/nginx-upload-module/blob/2.2/ngx_http_upload_module.c#L4123 > https://github.com/Austinb/nginx-upload-module/blob/2.2/ngx_http_upload_module.c#L4051 > http://apache.webthing.com/mod_upload/mod_upload.c L304 Would...

Hi, I encountered an occasional problem in a http request, the following is the sample code ``` local upload = require "resty.upload" local form, err = upload.new(4 * 1024) ****...

文件上传报错: 2020/12/22 18:15:39 [error] 2122#0: *12049 lua entry thread aborted: runtime error: /www/server/openresty/lualib/resty/upload.lua:60: http v2 not supported yet

This patch adds two new arguments to the `new` method: * a socket object * a boundary, either a plain boundary value or a `content-type` header value (in the latter...

Hi, I have hosted an nginx server using resty docker base image. Have couple of endpoints expose one to upload, download, list directory content. What ever files uploaded using upload...

``` local upname = nil while true do local typ, res, err = form:read() -- bla bla do something if typ == "header" then for k,v in pairs(res) do local...

I'm using the following version of Nginx. ``` nginx version: nginx/1.14.0 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) built with OpenSSL 1.0.2k-fips 26 Jan 2017 TLS SNI support...

``` while true do local typ, res, err = form:read() if not typ then ngx.say("failed to read: ", err) return end if typ == "header" then local key = res[1]...