http2: setup the new pushed stream properly

This commit is contained in:
Daniel Stenberg
2015-06-01 14:20:57 +02:00
parent ea7134ac87
commit feea9263e9
6 changed files with 127 additions and 38 deletions

View File

@@ -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 */