http2: initial implementation of the push callback

This commit is contained in:
Daniel Stenberg
2015-06-01 11:45:52 +02:00
parent 19d5bcd66a
commit 352fbceef3
6 changed files with 92 additions and 10 deletions

View File

@@ -87,6 +87,10 @@ struct Curl_multi {
curl_socket_callback socket_cb;
void *socket_userp;
/* callback function and user data pointer for server push */
curl_push_callback push_cb;
void *push_userp;
/* Hostname cache */
struct curl_hash hostcache;