U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » Skylark and SCGI
Re: Skylark and SCGI [message #40270 is a reply to message #40269] Sun, 14 July 2013 13:14 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1313
Registered: September 2007
Ultimate Contributor
Some progress... I found that

HttpHeader::ParseSCGI

always returns false, which make in turn
HttpHeader::Read()

Always return false in SCGI mode. Headers are indeed correctly read. Http::Dispatch(), with HttpHeader::Read() returning false don't go further.

Making ParseSCGI return true, the Dispatch() can proceed, but web page still shows same error.
Apache error log is now :
[Sun Jul 14 13:05:41 2013] [error] [client 127.0.0.1] malformed header from script. Bad header=HTTP/1.1 200 : ucloud
[Sun Jul 14 13:05:41 2013] [error] [client 127.0.0.1] (500)Unknown error 500: scgi: error reading response headers


Any hint ?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SSL sockets example
Next Topic: Probable bug in Skylark and sessions
Goto Forum:
  


Current Time: Mon Sep 28 09:41:45 GMT+2 2026

Total time taken to generate the page: 0.00715 seconds