summaryrefslogtreecommitdiff
path: root/lib/multiif.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-04-30 11:14:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-01 22:51:23 +0200
commitbe6e281cf2792b06b6d413d120b4a9381e4b0653 (patch)
treea2b34a119ec3081931cb90720a3af68c3e1ec3b3 /lib/multiif.h
parent5c8783d77f341d69e866bf0cd56836b4faea0a1f (diff)
downloadcurl-be6e281cf2792b06b6d413d120b4a9381e4b0653.tar.gz
multi: provide Curl_multiuse_state to update information
As soon as a TLS backend gets ALPN conformation about the specific HTTP version it can now set the multiplex situation for the "bundle" and trigger moving potentially queued up transfers to the CONNECT state.
Diffstat (limited to 'lib/multiif.h')
-rw-r--r--lib/multiif.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/multiif.h b/lib/multiif.h
index 704145ae0..97f707757 100644
--- a/lib/multiif.h
+++ b/lib/multiif.h
@@ -82,6 +82,9 @@ size_t Curl_multi_max_total_connections(struct Curl_multi *multi);
void Curl_multi_connchanged(struct Curl_multi *multi);
+void Curl_multiuse_state(struct connectdata *conn,
+ int bundlestate); /* use BUNDLE_* defines */
+
/*
* Curl_multi_closed()
*