1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

http: Remove built-in HTTP client

Stubs are retained for ABI compatibility.

Fixes #631.
Obsoletes #160.
This commit is contained in:
Nick Wellnhofer
2025-04-20 14:31:24 +02:00
parent 85dce1800d
commit b85d77d156
22 changed files with 210 additions and 1996 deletions

View File

@@ -557,11 +557,7 @@ xmlHasFeature(xmlFeature feature)
return(0);
#endif
case XML_WITH_HTTP:
#ifdef LIBXML_HTTP_ENABLED
return(1);
#else
return(0);
#endif
case XML_WITH_VALID:
#ifdef LIBXML_VALID_ENABLED
return(1);
@@ -13583,7 +13579,11 @@ xmlCtxtSetOptionsInternal(xmlParserCtxtPtr ctxt, int options, int keepMask)
*
* XML_PARSE_NONET
*
* Disable network access with the builtin HTTP client.
* Disable network access with the built-in HTTP or FTP clients.
*
* After the last built-in network client was removed in 2.15,
* this option has no effect expect for being passed on to custom
* resource loaders.
*
* XML_PARSE_NODICT
*