Bug 240214
Summary: | [CURL] Observed the HTTP-404 Error code while push the js file from server using http2 push mechanism. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Bharanitharan <vasubharani96> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Blocker | CC: | basuke, don.olmstead, Hironori.Fujii, takashi.komori |
Priority: | P1 | Keywords: | DoNotImportToRadar |
Version: | WebKit Local Build | ||
Hardware: | Other | ||
OS: | Linux |
Bharanitharan
Webkit Revision : webkit-218831.
CURL Version : v7.61.0
HTTP2 Version : 1.47.0
We have implemented the Http-2 in our browser and we have observed the failure while check the http2 push related test cases.
Test cases expectation : Push any one js file or css file from server.
In our case we have received the 404 Not found for server pushing JS file via http2 push mechanism.
We have used Below Configuration set in our code :
curl_multi_setopt(multi_handle, CURLMOPT_PUSHFUNCTION, server_push_callback);
curl_multi_setopt(multi_handle, CURLMOPT_PUSHDATA, &transfers);
We have performed the file write operation while server_push_callback executed case.
Write the file buffer in root path but unable to load it from the path.But test cases get passed when write the file in any webserver or localhost.Kindly give brief clarification related to Http2 push write mechanism or share any sample code with integrate the http2 push and stream priority feature.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |