libcurl.js
Advanced tools
Comparing version 0.6.16 to 0.6.17
# Libcurl.js Changelog: | ||
## v0.6.17 (10/2/24): | ||
- Enable a per host connection limit. This defaults to 6, which is the same as most web browsers. | ||
- Use the latest WolfSSL again and compile with workarounds | ||
- Upgrade to curl 8.10.1 | ||
## v0.6.16 (10/2/24): | ||
@@ -4,0 +9,0 @@ - Fix a bug with `Headers` objects and `Request` objects not being properly handled when passed into `libcurl.fetch` |
{ | ||
"name": "libcurl.js", | ||
"version": "0.6.16", | ||
"version": "0.6.17", | ||
"description": "A port of libcurl to WebAssembly, for proxying HTTPS requests from the browser with full TLS encryption", | ||
@@ -5,0 +5,0 @@ "main": "libcurl.mjs", |
@@ -149,3 +149,3 @@ # libcurl.js | ||
- `fetch` - Identical to the `libcurl.fetch` function but only creates connections in this session. | ||
- `set_connections` - Set the connection limits. This takes two arguments, the first being the limit for the connection cache, and the second being the max number of active connections. | ||
- `set_connections` - Set the connection limits. This takes three arguments: the first [is the hard limit of active connections](https://curl.se/libcurl/c/CURLMOPT_MAX_TOTAL_CONNECTIONS.html) (default 60), the second is limit for the connection cache (default 50), and the third is the [max connections per host](https://curl.se/libcurl/c/CURLMOPT_MAXCONNECTS.html) (default 6). | ||
- `export_cookies` - Export any cookies which were recorded in the session. This will return an empty string if cookies are disabled or no cookies have been set yet. | ||
@@ -152,0 +152,0 @@ - `close` - Close all connections and clean up the session. You must call this after you are done using the session, otherwise it will leak memory. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6318099
23174