diff options
author | Max Dymond <max.dymond@metaswitch.com> | 2017-05-31 12:09:56 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-06-30 10:17:27 +0200 |
commit | c75f63d7c432ab42614c05f8a8081edf4beb9ee9 (patch) | |
tree | cebc51907096057746d240271c01b105f269a05d /lib/rtsp.h | |
parent | 192877058e3c50181f3cdc349c17c13b6f9465b9 (diff) | |
download | curl-c75f63d7c432ab42614c05f8a8081edf4beb9ee9.tar.gz |
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/rtsp.h')
-rw-r--r-- | lib/rtsp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rtsp.h b/lib/rtsp.h index 5a8d5556f..8375a5317 100644 --- a/lib/rtsp.h +++ b/lib/rtsp.h @@ -25,13 +25,11 @@ extern const struct Curl_handler Curl_handler_rtsp; -bool Curl_rtsp_connisdead(struct connectdata *check); CURLcode Curl_rtsp_parseheader(struct connectdata *conn, char *header); #else /* disabled */ #define Curl_rtsp_parseheader(x,y) CURLE_NOT_BUILT_IN -#define Curl_rtsp_connisdead(x) TRUE #endif /* CURL_DISABLE_RTSP */ |