Welcome! Log In Create A New Profile

Advanced

Re: nginx-lua and nginx upload module

All files from this thread

File Name File Size   Posted by Date  
form_parser_module.lua 19.2 KB open | download Nginx User 11/26/2011 Read message
form_parser_module.lua 19.2 KB open | download Nginx User 11/26/2011 Read message
Valery Kholodkov
November 26, 2011 03:16PM
The limitation on the phase that is used to process uploads at the moment comes from nginx itself and not from upload module.

If you describe what sort of API you need from upload module, I will be able to implement it.

--
Best regards,
Valery Kholodkov

On 26 Nov 2011, at 14:16, agentzh <agentzh@gmail.com> wrote:

> On Sat, Nov 26, 2011 at 9:10 PM, strawman <nginx-forum@nginx.us> wrote:
>> Thanks for the swift replies, unfortunately I'm still having trouble
>> getting it to play nicely with the upload module.
>>
>> Here's the config I'm using: http://pastebin.com/GsrYHwj0
>>
>> It seems as though the request body isn't being read correctly;
>> ngx.req.get_body_data() works as expected if I run it from inside
>> /upload and make a multipart post to it, but it only returns the first
>> line of the body data when run from inside @handler. echo_request_body
>> works fine either way.
>>
>
> Sigh. I really hope that ngx_upload could be implemented as a rewrite
> or access phase handler rather than a content handler, then we can
> trivially combine with content_by_lua in the same location, for
> example, and no longer need to do any kind of internal redirections
> that clear everything including nginx variables and module contexts.
>
> Maybe Valery can work on an alternative UI for his ngx_upload module? ;)
>
> Regards,
> -agentzh
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx-lua and nginx upload module

strawman November 26, 2011 02:36AM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 03:10AM

Re: nginx-lua and nginx upload module Attachments

Nginx User November 26, 2011 04:18AM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 04:48AM

Re: nginx-lua and nginx upload module

Nginx User November 26, 2011 05:08AM

Re: nginx-lua and nginx upload module Attachments

Nginx User November 26, 2011 05:18AM

Re: nginx-lua and nginx upload module

strawman November 26, 2011 08:10AM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 08:18AM

Re: nginx-lua and nginx upload module

Nginx User November 26, 2011 08:26AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 26, 2011 03:16PM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 05:10PM

Re: nginx-lua and nginx upload module

Nginx User November 26, 2011 04:18PM

Re: nginx-lua and nginx upload module

Nginx User November 27, 2011 09:02AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 28, 2011 04:48AM

Re: nginx-lua and nginx upload module

agentzh November 28, 2011 04:52AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 28, 2011 05:24AM

Re: nginx-lua and nginx upload module

agentzh November 29, 2011 01:02AM

Re: nginx-lua and nginx upload module

Andrew Alexeev November 29, 2011 10:00AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 29, 2011 05:32AM

Re: nginx-lua and nginx upload module

agentzh November 29, 2011 05:52AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 29, 2011 10:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready