projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f22c586
)
Fix filter cgi does not relay session close MP-577
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 Oct 2014 11:54:30 +0000
(12:54 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 Oct 2014 11:54:30 +0000
(12:54 +0100)
src/filter_cgi.cpp
patch
|
blob
|
history
diff --git
a/src/filter_cgi.cpp
b/src/filter_cgi.cpp
index
d8e67ed
..
2b38877
100644
(file)
--- a/
src/filter_cgi.cpp
+++ b/
src/filter_cgi.cpp
@@
-138,16
+138,11
@@
void yf::CGI::process(mp::Package &package) const
Z_GDU *zgdu_req = package.request().get();
Z_GDU *zgdu_res = 0;
- if (!zgdu_req)
- return;
-
- if (zgdu_req->which != Z_GDU_HTTP_Request)
+ if (!zgdu_req || zgdu_req->which != Z_GDU_HTTP_Request)
{
package.move();
return;
}
-
-
std::list<CGI::Exec>::const_iterator it;
metaproxy_1::odr odr;
Z_HTTP_Request *hreq = zgdu_req->u.HTTP_Request;