hi there,
I have added the support for SCGI protocol (see: http://www.python.ca/scgi/
for more info) to mongoose version 2.8.
Here are some comments:
1. You can disable it on compiling time by define NO_SCGI flag.
2. Two new arguments are added: 'scgi_ext' just like cgi_ext and
'scgi_host' specify the scgi application host by a ip:port format or just
port if the scgi application is running on local machine. If 'scgi_host' is
not specified, the default address is: 127.0.0.1:4000.
3. Just like isapi_scgi for IIS and the cgi2scgi tool which is provided by
http://www.python.ca/scgi/ officially, The Status line translation is not
implemented. e.g.: The scgi application MUST return a "HTTP/1.1 200 OK"
rather than "Status: 200".
4. For your convenience all changed codes are enclosed by a comment like:
// [[ by BaiYang - add scgi support @ YYYY-MM-DD
changed codes ...
// ]] by BaiYang
So you can sreach "by BaiYang - add scgi support" to browse all changes.
Original issue reported on code.google.com by baiyang@gmail.com on 23 Apr 2010 at 2:21
Original issue reported on code.google.com by
baiyang@gmail.com
on 23 Apr 2010 at 2:21Attachments: