mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-11 13:30:01 -04:00
compile wolfssl with more reasonable options
This commit is contained in:
parent
5579550b8d
commit
b5c6ae4dc7
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue