rfc:curl_http2_push
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:curl_http2_push [2015/11/20 18:06] – davey | rfc:curl_http2_push [2015/12/01 20:38] – davey | ||
---|---|---|---|
Line 12: | Line 12: | ||
Server push allows the server to push additional resources relevant to the requested resource directly to the client proactively. | Server push allows the server to push additional resources relevant to the requested resource directly to the client proactively. | ||
- | Server push is available in libcurl since 7.44.0, but broken till the as-yet-unreleased 7.46.0 (See: [[https:// | + | Server push is available in libcurl since 7.44.0, but broken till the as-yet-unreleased 7.46.0 (See: [[https:// |
===== Libcurl Implementation ===== | ===== Libcurl Implementation ===== | ||
Line 30: | Line 30: | ||
$transfers = 1; | $transfers = 1; | ||
- | $callback = function($parent_ch, | + | $callback = function($parent_ch, |
$transfers++; | $transfers++; | ||
return CURL_PUSH_OK; | return CURL_PUSH_OK; | ||
Line 130: | Line 130: | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
- | - (rough) | + | |
- | - Docker container for easy testing can be found [[http:// | + | - Docker container for easy testing can be found [[http:// |
===== Implementation ===== | ===== Implementation ===== |
rfc/curl_http2_push.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1