mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
ftp works but it blocks the thread
This commit is contained in:
parent
0a5ace96fb
commit
2a072ecee0
12 changed files with 165 additions and 184 deletions
|
@ -22,11 +22,8 @@ class TLSSocket extends CurlSession {
|
|||
}
|
||||
|
||||
connect() {
|
||||
let response_info;
|
||||
let data_callback = () => {};
|
||||
let headers_callback = (info) => {
|
||||
response_info = info;
|
||||
}
|
||||
let headers_callback = () => {};
|
||||
let finish_callback = (error) => {
|
||||
if (error === 0) {
|
||||
this.connected = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue