mirror of
https://github.com/curl/curl.git
synced 2026-07-31 20:28:04 +03:00
http2: remove stream dependency tracking
The HTTP/2 feature is deprecated, few servers implement it and our implementation is complicated by its state management. Make the two CURLOPT_* involved a nop and deprecate them. Closes #21723
This commit is contained in:
parent
2056498625
commit
bfbff7852f
9 changed files with 34 additions and 130 deletions
|
|
@ -1527,13 +1527,10 @@ static CURLcode setopt_pointers(struct Curl_easy *data, CURLoption option,
|
|||
|
||||
#ifdef USE_HTTP2
|
||||
case CURLOPT_STREAM_DEPENDS:
|
||||
case CURLOPT_STREAM_DEPENDS_E: {
|
||||
struct Curl_easy *dep = va_arg(param, struct Curl_easy *);
|
||||
if(!dep || GOOD_EASY_HANDLE(dep))
|
||||
return Curl_data_priority_add_child(dep, data,
|
||||
option == CURLOPT_STREAM_DEPENDS_E);
|
||||
case CURLOPT_STREAM_DEPENDS_E:
|
||||
/* not doing stream dependencies any longer, but accept options
|
||||
* for backward compatibility */
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue