]> granicus.if.org Git - curl/commit
handler: refactor connection checking
authorMax Dymond <max.dymond@metaswitch.com>
Wed, 31 May 2017 11:09:56 +0000 (12:09 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 30 Jun 2017 08:17:27 +0000 (10:17 +0200)
commitc75f63d7c432ab42614c05f8a8081edf4beb9ee9
treecebc51907096057746d240271c01b105f269a05d
parent192877058e3c50181f3cdc349c17c13b6f9465b9
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.
20 files changed:
lib/curl_rtmp.c
lib/dict.c
lib/file.c
lib/ftp.c
lib/gopher.c
lib/http.c
lib/http2.c
lib/imap.c
lib/ldap.c
lib/openldap.c
lib/pop3.c
lib/rtsp.c
lib/rtsp.h
lib/smb.c
lib/smtp.c
lib/ssh.c
lib/telnet.c
lib/tftp.c
lib/url.c
lib/urldata.h