projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f0b840
)
Avoid built-in behavior for server error responses.
author
Scott Cantor
<cantor.2@osu.edu>
Sat, 15 Dec 2007 23:35:58 +0000
(23:35 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Sat, 15 Dec 2007 23:35:58 +0000
(23:35 +0000)
apache/mod_apache.cpp
patch
|
blob
|
history
diff --git
a/apache/mod_apache.cpp
b/apache/mod_apache.cpp
index
421a7ec
..
9ba9f9c
100644
(file)
--- a/
apache/mod_apache.cpp
+++ b/
apache/mod_apache.cpp
@@
-505,8
+505,11
@@
public:
in.read(buf,1024);
ap_rwrite(buf,in.gcount(),m_req);
}
- if (status!=XMLTOOLING_HTTP_STATUS_OK)
- return m_req->status = status;
+ if (status != XMLTOOLING_HTTP_STATUS_OK) {
+ m_req->status = status;
+ if (status != XMLTOOLING_HTTP_STATUS_ERROR)
+ return status;
+ }
return DONE;
}
long sendRedirect(const char* url) {