atom feed21 messages in ru.sysoev.nginxnginx-lua and nginx upload module
FromSent OnAttachments
strawmanNov 25, 2011 11:35 pm 
agentzhNov 26, 2011 12:07 am 
Nginx UserNov 26, 2011 1:16 am.lua
agentzhNov 26, 2011 1:45 am 
Nginx UserNov 26, 2011 2:06 am 
Nginx UserNov 26, 2011 2:16 am.lua
strawmanNov 26, 2011 5:10 am 
agentzhNov 26, 2011 5:15 am 
Nginx UserNov 26, 2011 5:24 am 
Valery KholodkovNov 26, 2011 12:13 pm 
Nginx UserNov 26, 2011 1:16 pm 
agentzhNov 26, 2011 2:08 pm 
Nginx UserNov 27, 2011 6:01 am 
Valery KholodkovNov 28, 2011 1:45 am 
agentzhNov 28, 2011 1:51 am 
Valery KholodkovNov 28, 2011 2:21 am 
agentzhNov 28, 2011 10:00 pm 
Valery KholodkovNov 29, 2011 2:29 am 
agentzhNov 29, 2011 2:49 am 
Andrew AlexeevNov 29, 2011 6:58 am 
Valery KholodkovNov 29, 2011 7:50 am 
Subject:nginx-lua and nginx upload module
From:strawman (ngin@nginx.us)
Date:Nov 25, 2011 11:35:59 pm
List:ru.sysoev.nginx

Hi all,

I'm hoping to write an nginx-lua script which handles file uploads from the nginx upload module. I can do this fine using an external backend and the upload_pass directive, but the lua module has no functionality for parsing the multipart form data that this generates. I've also tried accessing the $upload_file_name, $upload_tmp_path etc. variables generated by the upload module directly, but I don't seem to be able to access these outside of the upload_set_form_field directive.

Is there any way to get the contents of those variables into a lua handler in a form that can be easily parsed?

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,219085,219085#msg-219085