[cpp-sp COMMIT] /branches/REL_2/apache/mod_shib.cpp

noreply at shibboleth.net noreply at shibboleth.net
Wed Nov 20 16:00:14 EST 2013


Author: scantor
Date: Wed Nov 20 16:00:14 2013
New Revision: 3873

URL: http://svn.shibboleth.net/view/cpp-sp?rev=3873&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-603

Modified:
    branches/REL_2/apache/mod_shib.cpp

Modified: branches/REL_2/apache/mod_shib.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/apache/mod_shib.cpp?rev=3873&r1=3872&r2=3873&view=diff
==============================================================================
--- branches/REL_2/apache/mod_shib.cpp (original)
+++ branches/REL_2/apache/mod_shib.cpp Wed Nov 20 16:00:14 2013
@@ -873,8 +873,9 @@
 #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_auth_checker found no per-request structure");
-            return SERVER_ERROR;
+            ap_log_rerror(APLOG_MARK, APLOG_INFO|APLOG_NOERRNO, SH_AP_R(r), "shib_auth_checker 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



More information about the commits mailing list