compile wolfssl with more reasonable options

This commit is contained in:
ading2210 2024-10-24 06:25:17 -04:00
parent 5579550b8d
commit b5c6ae4dc7
3 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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": {

View file

@ -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