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/gopher.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/gopher.c')
-rw-r--r-- | lib/gopher.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gopher.c b/lib/gopher.c index e6d274648..836f72550 100644 --- a/lib/gopher.c +++ b/lib/gopher.c @@ -65,6 +65,7 @@ const struct Curl_handler Curl_handler_gopher = { ZERO_NULL, /* perform_getsock */ ZERO_NULL, /* disconnect */ ZERO_NULL, /* readwrite */ + ZERO_NULL, /* connection_check */ PORT_GOPHER, /* defport */ CURLPROTO_GOPHER, /* protocol */ PROTOPT_NONE /* flags */ |