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:
b870701
)
backend_test: honor close, init message sz
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 Sep 2010 09:00:33 +0000
(11:00 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 28 Sep 2010 09:00:33 +0000
(11:00 +0200)
src/filter_backend_test.cpp
patch
|
blob
|
history
diff --git
a/src/filter_backend_test.cpp
b/src/filter_backend_test.cpp
index
d14bee2
..
02c447e
100644
(file)
--- a/
src/filter_backend_test.cpp
+++ b/
src/filter_backend_test.cpp
@@
-258,6
+258,9
@@
void yf::BackendTest::process(Package &package) const
else
break;
+ *resp->preferredMessageSize = *req->preferredMessageSize;
+ *resp->maximumRecordSize = *req->maximumRecordSize;
+
Session_info info;
m_p->m_sessions.create(info, package.session());
}
@@
-368,6
+371,12
@@
void yf::BackendTest::process(Package &package) const
*resp->nextResultSetPosition = next_position;
}
}
+ else if (apdu_req->which == Z_APDU_close)
+ {
+ apdu_res = odr.create_close(apdu_req,
+ Z_Close_finished, 0);
+ package.session().close();
+ }
else
{
apdu_res = odr.create_close(apdu_req,