search for: warn_slow_msecs

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

2017 Aug 03
2
proxy-dict with tcp connection
...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_DEFAULT_TIMEOUT_MSECS; unsigned int warn_slow_msecs = DICT_CLIENT_DEFAULT_WARN_SLOW_MSECS; @@ -772,7 +776,21 @@ client_dict_init(struct dict *driver, const char *uri, dict->warn_slow_msecs = warn_slow_msecs; i_array_init(&dict->cmds, 32); - if (uri[0] == ':') { + args = t_strsplit(uri, ":"); + for(arg...
2017 Aug 03
0
proxy-dict with tcp connection
...loop; > 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_DEFAULT_TIMEOUT_MSECS; > unsigned int warn_slow_msecs = DICT_CLIENT_DEFAULT_WARN_SLOW_MSECS; > > @@ -772,7 +776,21 @@ client_dict_init(struct dict *driver, const char *uri, > dict->warn_slow_msecs = warn_slow_msecs; > i_array_init(&dict->cmds, 32); > > - if (uri[0] == ':') { > + args = t_strspli...