added: "assume_connection_is_through_ssl" config parameter
winix is testing an environment variable "HTTPS" for the value "on" to think that the connection is made via SSL you can set assume_connection_is_through_ssl to true for the winix to not testing any environment variables but just think the connection was made by https (useful when using proxy) default: false git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1069 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -808,6 +808,9 @@ void App::CheckSSL()
|
||||
// value "on" exists in lighttpd server
|
||||
// make sure that for other servers is "on" too
|
||||
|
||||
if( config.assume_connection_is_through_ssl )
|
||||
cur.request->using_ssl = true;
|
||||
else
|
||||
if( EqualNoCase(cur.request->env_https.c_str(), L"on") )
|
||||
cur.request->using_ssl = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user