search for: client_dict_init

Displaying 2 results from an estimated 2 matches for "client_dict_init".

2017 Aug 03
2
proxy-dict with tcp connection
I try to create a patch to allow (proxy-)dict to use tcp connections instead of a unix domain socket. I'm replacing connection_init_client_unix with connection_init_client_ip: --- ./src/lib-dict/dict-client.c.orig +++ ./src/lib-dict/dict-client.c @@ -721,6 +721,10 @@ client_dict_init(struct dict *driver, const char *uri, struct ioloop *old_ioloop = current_ioloop; struct client_dict *dict; const char *p, *dest_uri, *path; + const char *const *args; + unsigned int argc; + struct ip_addr ip; + in_port_t port=0; unsigned int idle_msecs = DICT_CLIENT...
2017 Aug 03
0
proxy-dict with tcp connection
...create a patch to allow (proxy-)dict to use tcp connections > instead of a unix domain socket. > > I'm replacing connection_init_client_unix with connection_init_client_ip: > > --- ./src/lib-dict/dict-client.c.orig > +++ ./src/lib-dict/dict-client.c > @@ -721,6 +721,10 @@ client_dict_init(struct dict *driver, const char *uri, > struct ioloop *old_ioloop = current_ioloop; > struct client_dict *dict; > const char *p, *dest_uri, *path; > + const char *const *args; > + unsigned int argc; > + struct ip_addr ip; > + in_port_t port=0; >...