Buy commercial curl support from
WolfSSL. We help you work out your issues, debug your libcurl
applications, use the API, port to new platforms, add new features and more.
With a team lead by the curl founder himself.
Re: HTTP/2 and server push related questions
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Stefan Eissing via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 23 Apr 2024 10:18:31 +0200
> Am 23.04.2024 um 09:26 schrieb Abhinav Singhal via curl-library <curl-library_at_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
Date: Tue, 23 Apr 2024 10:18:31 +0200
> Am 23.04.2024 um 09:26 schrieb Abhinav Singhal via curl-library <curl-library_at_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.htmlReceived on 2024-04-23