[cpp-sp COMMIT] /branches/REL_2/apache/mod_shib.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Sun May 12 21:06:36 EDT 2013
Author: scantor
Date: Sun May 12 21:06:36 2013
New Revision: 3846
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3846&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-549
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=3846&r1=3845&r2=3846&view=diff
==============================================================================
--- branches/REL_2/apache/mod_shib.cpp (original)
+++ branches/REL_2/apache/mod_shib.cpp Sun May 12 21:06:36 2013
@@ -809,8 +809,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_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
More information about the commits
mailing list