diff options
author | Max Dymond <max.dymond@metaswitch.com> | 2017-05-31 12:09:56 +0100 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-08-22 15:29:36 +0000 |
commit | 7456fc0f2695c69c32d22f44ed29afd103282e46 (patch) | |
tree | 276b1cb2c0008b8033a05f79ef3855bd01f26dd4 /lib/dict.c | |
parent | a8526897874613e5712f2310f4c7572f933c33e6 (diff) | |
download | gnurl-7456fc0f2695c69c32d22f44ed29afd103282e46.tar.gz gnurl-7456fc0f2695c69c32d22f44ed29afd103282e46.tar.bz2 gnurl-7456fc0f2695c69c32d22f44ed29afd103282e46.zip |
handler: refactor connection checking
Add a new type of callback to Curl_handler which performs checks on
the connection. Alter RTSP so that it uses this callback to do its
own check on connection health.
Diffstat (limited to 'lib/dict.c')
-rw-r--r-- | lib/dict.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dict.c b/lib/dict.c index 451ec389a..81d89fc48 100644 --- a/lib/dict.c +++ b/lib/dict.c @@ -85,6 +85,7 @@ const struct Curl_handler Curl_handler_dict = { ZERO_NULL, /* perform_getsock */ ZERO_NULL, /* disconnect */ ZERO_NULL, /* readwrite */ + ZERO_NULL, /* connection_check */ PORT_DICT, /* defport */ CURLPROTO_DICT, /* protocol */ PROTOPT_NONE | PROTOPT_NOURLQUERY /* flags */ |