From feea9263e9066768323a759ee178c144fccf5998 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 1 Jun 2015 14:20:57 +0200 Subject: http2: setup the new pushed stream properly --- lib/multiif.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/multiif.h') diff --git a/lib/multiif.h b/lib/multiif.h index 5052f65ae..e6323adf5 100644 --- a/lib/multiif.h +++ b/lib/multiif.h @@ -88,4 +88,10 @@ void Curl_multi_connchanged(struct Curl_multi *multi); void Curl_multi_closed(struct connectdata *conn, curl_socket_t s); +/* + * Add a handle and move it into PERFORM state at once. For pushed streams. + */ +CURLMcode Curl_multi_add_perform(struct Curl_multi *multi, + struct SessionHandle *data, + struct connectdata *conn); #endif /* HEADER_CURL_MULTIIF_H */ -- cgit v1.2.1