mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-10 21:10:02 -04:00
minor bug fixes
This commit is contained in:
parent
718d22a97d
commit
885e83d2eb
5 changed files with 17 additions and 2 deletions
|
@ -1,5 +1,12 @@
|
|||
# Libcurl.js Changelog:
|
||||
|
||||
## v0.6.22 (1/10/25):
|
||||
- Remove Emscripten's maximum socket limit of 64
|
||||
- Fix handling of sub-protocols in Websockets
|
||||
|
||||
## v0.6.21 (12/25/24):
|
||||
- Work around a [WolfSSL bug](https://github.com/wolfSSL/wolfssl/issues/8137) causing requests to open.spotify.com to fail
|
||||
|
||||
## v0.6.20 (11/10/24):
|
||||
- Fix bug with response body getting corrupted
|
||||
|
||||
|
|
|
@ -6,3 +6,9 @@ assert\(sock\.stream\.fd ?< ?64\);
|
|||
/* DELETE
|
||||
assert\(!exceptfds, ?['"]exceptfds not supported['"]\);
|
||||
*/
|
||||
|
||||
|
||||
/* DELETE
|
||||
assert\(nfds ?<= ?64, ?['"]nfds must be less than or equal to 64['"]\);
|
||||
*/
|
||||
|
||||
|
|
|
@ -50,6 +50,8 @@ class CurlWebSocket extends CurlSession {
|
|||
headers: this.options.headers || {}
|
||||
};
|
||||
if (this.protocols) {
|
||||
if (typeof this.protocols === "string")
|
||||
this.protocols = [this.protocols];
|
||||
request_options.headers["Sec-Websocket-Protocol"] = this.protocols.join(", ");
|
||||
}
|
||||
if (this.options.verbose) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "libcurl.js",
|
||||
"version": "0.6.21",
|
||||
"version": "0.6.22",
|
||||
"description": "A port of libcurl to WebAssembly, for proxying HTTPS requests from the browser with full TLS encryption",
|
||||
"main": "libcurl.mjs",
|
||||
"exports": {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit dee3e21dbb0b5796b56bc0d76dc58a46db1d1dd8
|
||||
Subproject commit 7ecfcdee990b207e16c553c700e96d6261fe4563
|
Loading…
Add table
Add a link
Reference in a new issue