mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
fix bug with incorrect tcp hostnames
This commit is contained in:
parent
88f2249e4e
commit
1a53a3c8f7
3 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,8 @@
|
||||||
# Libcurl.js Changelog:
|
# Libcurl.js Changelog:
|
||||||
|
|
||||||
|
## v0.6.13 (9/1/24):
|
||||||
|
- A minor bug where the hostname for TCP connections would be wrong in certain cases has been fixed.
|
||||||
|
|
||||||
## v0.6.12 (7/28/24):
|
## v0.6.12 (7/28/24):
|
||||||
- The APIs from [wisp-client-js](https://github.com/MercuryWorkshop/wisp-client-js) are now exposed at `libcurl.wisp`
|
- The APIs from [wisp-client-js](https://github.com/MercuryWorkshop/wisp-client-js) are now exposed at `libcurl.wisp`
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* INSERT
|
/* INSERT
|
||||||
var ?opts ?= ?undefined;
|
var ?opts ?= ?undefined;
|
||||||
*/
|
*/
|
||||||
var parts=addr.split("/");
|
var parts = addr.split("/");
|
||||||
url = url + parts[0] + ":" + port;
|
if (!url.endsWith("/")) url += "/";
|
||||||
|
url += parts[0] + ":" + port;
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "libcurl.js",
|
"name": "libcurl.js",
|
||||||
"version": "0.6.12",
|
"version": "0.6.13",
|
||||||
"description": "An experimental port of libcurl to WebAssembly for use in the browser.",
|
"description": "An experimental port of libcurl to WebAssembly for use in the browser.",
|
||||||
"main": "libcurl.mjs",
|
"main": "libcurl.mjs",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue