Re: [uWSGI] post uploads for large files

2017-07-18 Thread Daniel Nicoletti
_ > uWSGI mailing list > uWSGI@lists.unbit.it > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi > > -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Re: [uWSGI] Help

2019-03-03 Thread Daniel Nicoletti
;> is very unpolite. > > I think it was just badly written english. I don't think they meant to > > be unpolite. > ___ > uWSGI mailing list > uWSGI@lists.unbit.it > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

[uWSGI] uWSGI and Cutelyst

2014-02-03 Thread Daniel Nicoletti
could I get the path to the apps to load. Besides that it's working great already, if you want to take a look at the code it is in: https://gitorious.org/cutelyst there is a uwsgiEngine dir containing the plugin. Thanks, -- Daniel Nicoletti KDE Developer -

Re: [uWSGI] uWSGI and Cutelyst

2014-02-04 Thread Daniel Nicoletti
k, I dunno how one configure an uWSGI server but I imagine it could be something like: [Foo App] plugin=cutelyst.so app=foo.so root="/foo" [Bar App] plugin=cutelyst.so app=bar.so root="/bar" so in init_apps how do I get which app the user wants and the root or mountpoint? Thanks -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

[uWSGI] Virtual hosts

2014-03-13 Thread Daniel Nicoletti
Hi, I have googled a bit, asked on irc and looked up on the docs, still I have not found if it's possible or not to setup uswgi to deal with virtual host setups. I ask this because if I run uswgi without ngnix siege report much more requests per seconds plus when there are more than 150 simultaneou

Re: [uWSGI] Virtual hosts

2014-03-14 Thread Daniel Nicoletti
Thanks, I'll take a look then :) 2014-03-14 7:54 GMT-03:00 Guido Berhoerster : > * Daniel Nicoletti > [2014-03-14 00:45]: >> I have googled a bit, asked on irc and looked up on the docs, still I have >> not found if it's possible or not to setup uswgi to deal with

[uWSGI] file uploads

2014-06-22 Thread Daniel Nicoletti
is producing an invalid .h file on --dot-h due to an odd char at the end. Thanks, -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Re: [uWSGI] file uploads

2014-06-23 Thread Daniel Nicoletti
2014-06-23 6:00 GMT-03:00 Roberto De Ioris : > >> hi, >> >> I've been trying to get the uploaded files on a form, >> but I don't find where in the wsgi_request struct >> they are, I tried probably most of the params >> and none seemed to have it, I also tried to grep >> the code but nothing. What a

Re: [uWSGI] file uploads

2014-06-27 Thread Daniel Nicoletti
every time you encounter the boundary string you start storing a > new file. > > So, there are no fields in uWSGI for file uploads, as they are managed at > higher (the application) level. > > -- > Roberto De Ioris > http://unbit.it > ___

Re: [uWSGI] file uploads

2014-06-27 Thread Daniel Nicoletti
>>> a >>> new file. >>> >>> So, there are no fields in uWSGI for file uploads, as they are managed >>> at >>> higher (the application) level. >>> >>> -- >>> Roberto De Ioris >>> http://unbit.it >>> __

Re: [uWSGI] file uploads

2014-06-30 Thread Daniel Nicoletti
Finally figured out what I was doing wrong with my IO device and now everything works but when someone class seek() on my device I have to uwsgi_request_body_seek(new_pos); request->post_readline_pos = request->post_pos; Any reason why readline pos isn't changed in body_seek function? ___

Re: [uWSGI] file uploads

2014-07-02 Thread Daniel Nicoletti
ter seek you will mess with buffering. > > Can you report how you are using it ? > > > -- > Roberto De Ioris > http://unbit.it > _______ > uWSGI mailing list > uWSGI@lists.unbit.it > http://lists.unbit.it/cgi-bin/mailman/listi

Re: [uWSGI] file uploads

2014-07-03 Thread Daniel Nicoletti
Btw all tests I did worked fine the way it is now but maybe this would have issues when threaded? Em 02/07/2014 12:51, "Daniel Nicoletti" escreveu: > hmm well if you say it's a bad idea > I can just remove readLine implementation > and QIODevice will emulate it calling &g

[uWSGI] Qt event loop

2014-07-10 Thread Daniel Nicoletti
wrong or how to get a proper bt? Best, -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Re: [uWSGI] Qt event loop

2014-07-10 Thread Daniel Nicoletti
the fd is always the same (at least here), wouldn't be better to use the socket notifier on the req->fd? Thanks 2014-07-10 13:34 GMT-03:00 Daniel Nicoletti : > Hi, > I'm trying to include the Qt event loop you wrote, > but I get a crash as soon as: > > int ret = uws

[uWSGI] option typo

2014-07-11 Thread Daniel Nicoletti
uwsgi.c: {"undeferred-shared-socket", required_argument, 0, "create a shared sacket for advanced jailing or ipc (undeferred mode)", uwsgi_opt_add_shared_socket, NULL, 0}, -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com _

Re: [uWSGI] Qt event loop

2014-07-11 Thread Daniel Nicoletti
it_read2_hook = uwsgi_simple_wait_read2_hook; > > > -- > Roberto De Ioris > http://unbit.it > ___ > uWSGI mailing list > uWSGI@lists.unbit.it > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Re: [uWSGI] Qt event loop

2014-07-14 Thread Daniel Nicoletti
e a the async queue is freed, so I wonder what would you suggest. Besides this, can I assume for every uwsgi.thread will always be a uwsgi.sock? Thanks > > -- > Roberto De Ioris > http://unbit.it > ___ > uWSGI mailing list > uWSGI@l

[uWSGI] connection reset by peer

2014-07-17 Thread Daniel Nicoletti
ips on what could be happening? Thanks -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@lists.unbit.it http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

[uWSGI] cores vs async

2014-07-17 Thread Daniel Nicoletti
nd --threads 2 then uwsgi.cores is 2 and I wonder why the former loop doesn't crash. it would be interesting if cores were always async * threads. best, -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com ___ uWSGI mailing list uWSGI@

Re: [uWSGI] connection reset by peer

2014-07-18 Thread Daniel Nicoletti
onse_add_header(wsgi_req, (char *)"Connection", 10, (char *)"HTTP/1.1", 8); makes the http plugin to can_keepalive, however weighttp expects a "keep-alive" string to mark succeed++, which is what servers send, anyway to change this? Thanks, 2014-07-17 17:43 GMT-03:00 Daniel

Re: [uWSGI] Can I get improvement via gevent

2015-08-18 Thread Daniel Nicoletti
Thanks~ > > -- > Rejoice,I Desire! > ___ > uWSGI mailing list > uWSGI@lists.unbit.it > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi -- Daniel Nicoletti KDE Developer - http://dantti.wordpress.com __

Re: [uWSGI] documentation of uwsgi.h file

2015-10-24 Thread Daniel Nicoletti
usplus", this isn't valid C++ code so you either have to put into a .c file file or use the way I did in plugin.cpp, which is better if you happened to share a config structure and not want to get unaligned warnings on 64bits. Best, -- Daniel Nicoletti KDE Developer - http://dantti.wordpr

[uWSGI] Data in post-buffering mode

2016-02-01 Thread Daniel Nicoletti
calling memcpy crashes as it had already freed that buffer. I know this is the behavior of when not using post-buffering so I just fill a buffer to enable the same behavior. What could I be doing wrong? the code: https://github.com/cutelyst/cutelyst/blob/master/uwsgiEngine/bodyuwsgi.cpp#L58 tha

Re: [uWSGI] Data in post-buffering mode

2016-02-01 Thread Daniel Nicoletti
he crash... I'll just remove the calls to readline so QIODevice emulates that for me... best 2016-02-01 11:03 GMT-02:00 Daniel Nicoletti : > Hi, > > I'm getting a crash on post buffering mode, this used to work, so I'm > not sure it's > related to some version o uws

[uWSGI] Fork memory usage

2016-04-14 Thread Daniel Nicoletti
r even is there something different about how uwsgi forks()? maybe explicity sharing less if that's even possible? Note that I dunno which build options Debian used to uwsgi, maybe it's possible to compile with reduced size or maybe it would just be better if it had it's code split in

Re: [uWSGI] Fork memory usage

2016-04-14 Thread Daniel Nicoletti
2016-04-14 8:17 GMT-03:00 Riccardo Magliocchetti : > Hello, > > Il 14/04/2016 13:04, Daniel Nicoletti ha scritto: >> >> Hi, >> >> yesterday I was doing an experiment to see how fast would it be to uwsgi >> spawn 1000 workers with my app loaded, it took ~2s bu

Re: [uWSGI] Fork memory usage

2016-04-14 Thread Daniel Nicoletti
2016-04-14 9:09 GMT-03:00 Riccardo Magliocchetti : > Il 14/04/2016 13:38, Daniel Nicoletti ha scritto: >> >> 2016-04-14 8:17 GMT-03:00 Riccardo Magliocchetti >>> >>> Il 14/04/2016 13:04, Daniel Nicoletti ha scritto: >>>> >>>> yesterday I was

Re: [uWSGI] Fork memory usage

2016-04-14 Thread Daniel Nicoletti
2016-04-14 9:26 GMT-03:00 Javier Guerra Giraldez : > On 14 April 2016 at 13:22, Daniel Nicoletti wrote: >> It's not unfair since threads are basically process to linux kernel > > in the Linux kernel threads and processes are indeed different kinds > of a generic task conce

Re: [uWSGI] Fork memory usage

2016-04-14 Thread Daniel Nicoletti
> Let me say it again, if you want to help with that fire up valgrind and see > where the memory is used and eventually leaked. I don't think it's leaked nor have the time atm to inspect it, I just started the thread to see if there was something different done before fork, if that's not the case m

Re: [uWSGI] Switching from Nginx to uWSGI + OpenBSD's httpd for Ruby on Rails + Puma application

2017-01-12 Thread Daniel Nicoletti
y old ruby/rails > combos so generally it is a good thing (in the long term) to invest on it. > > > -- > Roberto De Ioris > http://unbit.com > _______ > uWSGI mailing list > uWSGI@lists.unbit.it > http://lists.unbit.it/cgi-bin/mailman/