update wisp client and server

This commit is contained in:
ading2210 2024-03-21 13:03:05 -04:00
parent 5e9f26f818
commit 1bce63801d
6 changed files with 10 additions and 5 deletions

View file

@ -1,5 +1,9 @@
# Libcurl.js Changelog:
## v0.6.5 (3/20/24):
- Update Wisp client and server
- Compile WolfSSL with greater site support
## v0.6.4 (3/20/24):
- Fix handling of request bodies

View file

@ -1,6 +1,6 @@
{
"name": "libcurl.js",
"version": "0.6.4",
"version": "0.6.5",
"description": "An experimental port of libcurl to WebAssembly for use in the browser.",
"main": "libcurl.mjs",
"exports": {

View file

@ -16,7 +16,8 @@ git clone -b v5.6.6-stable --depth=1 https://github.com/wolfSSL/wolfssl wolfssl
cd wolfssl
autoreconf -fi
CFLAGS="-Oz -DSP_WORD_SIZE=32 -DWOLFSSL_NO_ATOMICS" 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
export CFLAGS="-Oz -DSP_WORD_SIZE=32 -DWOLFSSL_NO_ATOMICS -DWOLFSSL_TICKET_NONCE_MALLOC"
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
emmake make -j$CORE_COUNT
make install

@ -1 +1 @@
Subproject commit f63a01d33b850f6f45a059d1f6db3c45cbe47b1e
Subproject commit 6aa58be0897501ac444b38e7e7c0008da24f79ba

View file

@ -13,7 +13,7 @@ if [ ! -d "$SERVER_PATH.venv" ]; then
fi
source $SERVER_PATH/.venv/bin/activate
if ! python3 -c "import websockets" 2> /dev/null; then
if ! python3 -c "import websockets, asyncudp" 2> /dev/null; then
pip3 install -r $SERVER_PATH/requirements.txt
fi

@ -1 +1 @@
Subproject commit b18670f742ec2ff8efaee6074c36dfb568f20ba2
Subproject commit ae2ec5f867aa64495e99facfeecf4307ec46d702