[Kimchi-devel] Why Disable upload option

Aline Manera alinefm at linux.vnet.ibm.com
Tue Nov 4 12:41:51 UTC 2014


On 11/04/2014 10:34 AM, ssdxiao wrote:
> Thanks for your reply.
>
> >>No - we don't have plans for that.
> >>In fact, nginx only works as a reverse proxy in Kimchi. The web server is cherrypy.
>
> >> Why would you want a different web server?
>
> We hope to use the lighttpd works as reverse proxy. Because the nginx 
> has to much dependency packages about perl.
> Now we package the kimchi into our customized operation system and 
> hope the ISO is as small as possible.
>

Feel free to send patches to do that change.
IMO you can send a patch to replace nginx by lighttpd if the latter 
provide the same configuration we have on nginx.

>
> 在 2014-11-03 19:49:33,"Aline Manera" <alinefm at linux.vnet.ibm.com> 写道:
>
>
>     On 11/03/2014 06:42 AM, ssdxiao wrote:
>>     Hi kimchier,
>>
>>     I am happy to see the feature "upload volume" is supported in kimchi
>>     but I found the button is disabled, is there any problem?
>>
>
>     In the current code, the upload function is disabled as it does not
>     work well with files larger than 500MB.
>     When trying to upload a file with 500MB the browser stops responding
>     and after some time it crashes.
>      From a quick investigation, I identified it happens prior to send
>     the data to server:
>
>           var uploadFile = function() {
>               var blobFile = $(localFileBox)[0].files[0];
>               var fileName = blobFile.name;
>               var fd = new FormData();
>               fd.append('name', fileName);
>               *fd.append('file', blobFile)*
>               ....
>           }
>
>     We need check if there is a way to solve it on UI by changing the
>     data structure or how it is loaded or think about a solution involving
>     backend.
>
>
>
>
>>     Now kimchi only supports nginx by default now.
>>     Is there any plan to support other web server? For example:
>>     lighttpd,  apache and so on.
>>
>>
>
>     No - we don't have plans for that.
>     In fact, nginx only works as a reverse proxy in Kimchi. The web
>     server is cherrypy.
>
>     Why would you want a different web server?
>
>
>
>
>
>
>>
>>
>>
>>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20141104/7b37611d/attachment.html>


More information about the Kimchi-devel mailing list