Initial upstream fitlering implementation.

Test filter with up and down stream filtering. Keeps top N queries
and prints a report of these queries on session close.
This commit is contained in:
Mark Riddoch
2014-06-09 21:13:28 +01:00
parent 9e164b83f0
commit 77e1426dbf
12 changed files with 519 additions and 14 deletions

View File

@ -318,7 +318,7 @@ static int gw_read_backend_event(DCB *dcb) {
/* try reload users' table for next connection */
service_refresh_users(dcb->session->client->service);
service_refresh_users(dcb->session->service);
while (session->state != SESSION_STATE_ROUTER_READY &&
session->state != SESSION_STATE_STOPPING)