From 2e37d6b71692508fa5d2764c1c80f3c7ca7c2894 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 26 Jun 2015 14:58:03 +0200 Subject: Send search requests on the same connection the explicit bind was done on, so the user's permissions regarding visibility of search results will be applied --- proxy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'proxy.h') diff --git a/proxy.h b/proxy.h index c54f896..f9a781e 100644 --- a/proxy.h +++ b/proxy.h @@ -7,7 +7,9 @@ void proxy_init(); BOOL proxy_fromClient(epoll_client_t *client, const size_t maxLen); -void proxy_removeClient(const epoll_client_t *client); +void proxy_removeClient(epoll_client_t * const client); + +void proxy_removeServer(epoll_server_t * const server); BOOL proxy_fromServer(epoll_server_t *server, const size_t maxLen); -- cgit v1.2.3-55-g7522