mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 22:40:01 -04:00
fix url handling and websockets
This commit is contained in:
parent
0cab209e9d
commit
2e6fba2c3b
8 changed files with 67 additions and 13 deletions
|
@ -43,7 +43,7 @@ class TLSSocket extends CurlSession {
|
|||
}
|
||||
}
|
||||
|
||||
this.http_handle = this.create_request(this.url, data_callback, finish_callback, headers_callback);
|
||||
this.http_handle = this.create_request(this.url, data_callback, finish_callback, headers_callback, true);
|
||||
_tls_socket_set_options(this.http_handle, +this.options.verbose);
|
||||
if (this.options.proxy) {
|
||||
c_func_str(_request_set_proxy, [this.http_handle, this.options.proxy]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue