On Mon, 13 Feb 2012 11:57:59 +0100
Hi,

"Roberto De Ioris" <[email protected]> wrote:

> psgi load itself as 5
> 
> In latest tip you can do
> 
> --plugins 0:psgi
> 
> or
> 
> --http-modifier1 5

According to this thread
(http://lists.unbit.it/pipermail/uwsgi/2011-October/002807.html) it
should be possible to run uwsgi with embedded HTTP (without additional
HTTP proxy process), although I am not able to make it work with
sample hello.psgi:

$ cat hello.psgi
sub {[200, ['Content-Type' => 'text/plain'], ["Hello\n"]]}

$ /usr/local/booking-perl/5.8.5/sbin/uwsgi --socket :5000 --protocol=http 
--remap-modifier 0:5 --psgi hello.psgi
*** Starting uWSGI 1.0.2.1 (64bit) on [Fri Feb 17 12:11:44 2012] ***
compiled with version: 4.1.2 20080704 (Red Hat 4.1.2-46) on 20 January 2012 
16:09:51
current working directory: /tmp
detected binary path: /usr/local/booking-perl/5.8.5/sbin/uwsgi
*** WARNING: you are running uWSGI without its master process manager ***
your memory page size is 4096 bytes
uwsgi socket 0 bound to TCP address :5000 fd 3
initializing Perl environment
your server socket listen backlog is limited to 100 connections
*** Operational MODE: single process ***
PSGI app 0 (hello.psgi) loaded at 0x12b47610
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 19355, cores: 1)
invalid request block size: 21573 (max 4096)...skip
Fri Feb 17 12:12:00 2012 - error parsing request

What do I miss here ?
Regards,

Marcin Deranek
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to