projects
/
simpleserver-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:
83b87dd
)
ESTIMATED_HIT_COUNT = 1 facility SIM-18
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 22 Nov 2013 10:54:37 +0000
(11:54 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 22 Nov 2013 10:55:14 +0000
(11:55 +0100)
SimpleServer.xs
patch
|
blob
|
history
diff --git
a/SimpleServer.xs
b/SimpleServer.xs
index
2855726
..
11622da
100644
(file)
--- a/
SimpleServer.xs
+++ b/
SimpleServer.xs
@@
-1002,6
+1002,11
@@
int bend_search(void *handle, bend_search_rr *rr)
rr->extra_response_data = odr_strdupn(rr->stream, ptr, len);
}
+ temp = hv_fetch(href, "ESTIMATED" "_HIT_" "COUNT", 19, 0);
+ if (temp)
+ {
+ rr->estimated_hit_count = SvIV(*temp);
+ }
hv_undef(href);
av_undef(aref);