> Am 23.04.2024 um 09:26 schrieb Abhinav Singhal via curl-library 
> <curl-library@lists.haxx.se>:
> 
> Hi,
> I need to confirm two things:
> 
> 1. If I build libcurl with the '--without-nghttp2' flag (and with 
> '--with-openssl'), will the http2 component be disabled in its entirety? 

Yes.

> 2. Is CURLMPOT_PUSHFUNCTION the only way to enable the server push feature, 
> or is there any other (non-CLI) way to enable this feature? In reference to 
> point 1 above, if I build the code with the '--without-nghttp2' flag, then 
> HTTP/2 would be disabled as a whole and so would the server push feature, is 
> that correct?

Server Push is only available on the HTTP/2 protocol, so yes. Note that HTTP/2 
server push is deprecated by the protocol itself nowadays.

Cheers,
Stefan

> Thanks.
> -- 
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
> Etiquette:   https://curl.se/mail/etiquette.html

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to