> On Sat, 22 Oct 2011, Roberto De Ioris wrote: >> >> Yes, but you have to use: >> >> --remap-modifier 0:5 >> >> this will map the psgi plugin as the default one > > Thanks you, that works! It still displays the "error parsing request" > message though; should I worry about that: > > *** Starting uWSGI 0.9.8.5 (64bit) on [Tue Oct 25 00:02:28 2011] *** > compiled with version: 4.5.2 on 20 October 2011 23:09:29 > your memory page size is 4096 bytes > uwsgi socket 0 bound to TCP address 0.0.0.0:3000 fd 3 > initializing Perl 5.14.2 environment > your server socket listen backlog is limited to 100 connections > *** Operational MODE: single process *** > Prototype mismatch: sub main::get: none vs ($) at app.pl line 4 > PSGI app (app.psgi) loaded at 0x2a65db8 > *** no app loaded. going in full dynamic mode *** > spawned uWSGI master process (pid: 247) > spawned uWSGI worker 1 (pid: 250, cores: 1) > recv(): Success [proto/http.c line 233] > error parsing request
I bet you do a tcp connection to the socket to know if the app is started. Being only a connection (no data) the http parser report the error. In 1.0 branch this condition is reported as a PING packet. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
