> Hi,
>
> I can't run psgi with current trunk:
>
> $ cat hello.psgi
> sub {[200, ['Content-Type' => 'text/plain'], ['Hi, ' .
> shift->{REMOTE_ADDR}]]}
>
> $ ./uwsgi --http 127.0.0.1:8080 --plugins psgi --psgi `pwd`/hello.psgi
> *** Starting uWSGI 1.1-dev (64bit) on [Fri Feb 17 14:26:10 2012] ***
> compiled with version: 4.5.1 20101130 (ALT Linux 4.5.1-alt8) on 17
> February 2012 09:59:02
> current working directory: /home/enp/uwsgi
> detected binary path: /home/enp/uwsgi/uwsgi
> *** WARNING: you are running uWSGI without its master process manager ***
> your memory page size is 4096 bytes
> detected max file descriptor number: 1024
> uWSGI http bound on 127.0.0.1:8080 fd 4
> spawned uWSGI http 1 (pid: 28184)
> uwsgi socket 0 bound to TCP address 127.0.0.1:42454 (port auto-assigned)
> fd 3
> initialized Perl 5.12.3 main interpreter at 0x656180
> your server socket listen backlog is limited to 100 connections
> *** Operational MODE: single process ***
> PSGI app 0 (/home/enp/uwsgi/hello.psgi) loaded at 0x7e70c8
> (interpreter 0x656180)
> *** uWSGI is running in multiple interpreter mode ***
> spawned uWSGI worker 1 (and the only) (pid: 28183, cores: 1)
> ...
>
> $ curl http://127.0.0.1:8080
> curl: (52) Empty reply from server
>
>are not you missing --http-modifier1 5 ? Pay attention to an 'undesired' getopt_long behavior: if you do not build the http plugin, --http will automatically map to --http-socket :) -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
