[Kimchi-devel] Why Disable upload option

ssdxiao ssdxiao at 163.com
Tue Nov 4 12:34:54 UTC 2014


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.



在 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/3ab51adf/attachment.html>


More information about the Kimchi-devel mailing list