From: scantor Date: Mon, 13 May 2013 01:06:36 +0000 (+0000) Subject: https://issues.shibboleth.net/jira/browse/SSPCPP-549 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fsp.git;a=commitdiff_plain;h=e7615ca5ff67134cf4d864b3f2f142ab2764883b https://issues.shibboleth.net/jira/browse/SSPCPP-549 git-svn-id: https://svn.shibboleth.net/cpp-sp/branches/REL_2@3846 cb58f699-b61c-0410-a6fe-9272a202ed29 --- diff --git a/apache/mod_shib.cpp b/apache/mod_shib.cpp index 3899db4..00cca09 100644 --- a/apache/mod_shib.cpp +++ b/apache/mod_shib.cpp @@ -809,8 +809,9 @@ extern "C" int shib_handler(request_rec* r) #else shib_request_config* rc = (shib_request_config*)ap_get_module_config(r->request_config, &mod_shib); if (!rc || !rc->sta) { - ap_log_rerror(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, SH_AP_R(r), "shib_handler found no per-request structure"); - return SERVER_ERROR; + ap_log_rerror(APLOG_MARK, APLOG_INFO|APLOG_NOERRNO, SH_AP_R(r), "shib_handler found no per-request structure"); + shib_post_read(r); // ensures objects are created if post_read hook didn't run + rc = (shib_request_config*)ap_get_module_config(r->request_config, &mod_shib); } ShibTargetApache* psta = rc->sta; #endif