From b5c6ae4dc7846eb2ded4c989a939e163d3c46b26 Mon Sep 17 00:00:00 2001 From: ading2210 Date: Thu, 24 Oct 2024 06:25:17 -0400 Subject: [PATCH] compile wolfssl with more reasonable options --- CHANGELOG.md | 5 +++++ client/package.json | 2 +- client/tools/wolfssl.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1f99b3..2ef3ab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # 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): - Fix a bug with `Headers` objects and `Request` objects not being properly handled when passed into `libcurl.fetch` - Errors thrown are now `Error` or `TypeError` objects instead of plain strings diff --git a/client/package.json b/client/package.json index 064001a..9144589 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "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", "main": "libcurl.mjs", "exports": { diff --git a/client/tools/wolfssl.sh b/client/tools/wolfssl.sh index 20b78a9..64082ae 100755 --- a/client/tools/wolfssl.sh +++ b/client/tools/wolfssl.sh @@ -17,7 +17,7 @@ cd wolfssl autoreconf -fi export CFLAGS="-Oz -DSP_WORD_SIZE=32 -DWOLFSSL_NO_ATOMICS -DWOLFSSL_MAX_ALT_NAMES=1024" -emconfigure ./configure --prefix=$PREFIX --enable-curl --enable-static --disable-shared --host=i686-linux --disable-examples --disable-asm --enable-sni --enable-alpn --enable-truncatedhmac --enable-oldtls --enable-tlsv12 --enable-all-crypto --disable-asyncthreads --disable-threadlocal --enable-tlsx +emconfigure ./configure --prefix=$PREFIX --enable-curl --enable-static --disable-shared --host=i686-linux --disable-examples --disable-asm --enable-sni --enable-alpn --enable-truncatedhmac --enable-tlsv12 --enable-all-crypto --disable-arc4 --disable-asyncthreads --disable-threadlocal --enable-tlsx --disable-nullcipher emmake make -j$CORE_COUNT make install