1,244 bytes added
, 03:31, 10 May 2020
This page documents the libcurl package used by official sw. This is statically linked in the main-codebin, on old versions (~v2.x) this was a subsdk NSO. This page does not apply to the libcurl build included in the browser OSS NRO.
With sdkver 10.x, this is built with support for NGHTTP2 with the relevant [[SSL_services|Alpn]] cmds being used for this.
The changes to libcurl compared to the original libcurl are documented below, etc.
= CURLOPT =
{| class="wikitable" border="1"
|-
! CINIT name || CINIT type || CINIT number || CURLoption value || Default value
|-
| [[#PROXYAUTOCONFIG]] || LONG || 500 || 500 || 1
|-
| || LONG || 501 || 501 ||
|-
| || LONG || 502 || 502 ||
|-
| || LONG || 503 || 503 ||
|-
| || LONG || 504 || 504 ||
|-
| || LONG || 505 || 505 ||
|-
| || LONG || 506 || 506 ||
|-
| || LONG || 507 || 507 ||
|}
== PROXYAUTOCONFIG ==
This option is handled as a bool.
A warning is printed if this option is set when CURLOPT_PROXY is already set - in which case CURLOPT_PROXY is freed.
This option controls whether to load the system proxy from [[Network_Interface_services#GetCurrentNetworkProfile|nifm]]. The code handling this option was added to the start of the inlined create_conn_helper_init_proxy func.