Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » SCGI Class
Re: SCGI Class [message #31599 is a reply to message #29172] Wed, 16 March 2011 21:07 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Recently I've tested ScgiServer class inside FastCGI application under FreeBSD 8 with nginx 0.7.67.
Nginx refused to accept data with following error:
upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream

I googled and found that FastCGI uses some transport protocol with binary header:
http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S3.1

Then I looked inside ScgiServer source and found no support for this binary header, which is strange.

Also I had exceptions when no QUERY_STRING or REQUEST_METHOD was defined in user's request. This is a potential problem, so I propose change serverVars.Get("...") calls with serverVars.GetAdd("...", "")
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How should we deal with SQL column names in conflict with SQL standard keywords
Next Topic: What's up with Google subversion mirror?
Goto Forum:
  


Current Time: Sat May 11 21:37:41 CEST 2024

Total time taken to generate the page: 0.02360 seconds