ftp works but it blocks the thread

This commit is contained in:
ading2210 2024-03-17 17:50:58 -04:00
parent 0a5ace96fb
commit 2a072ecee0
12 changed files with 165 additions and 184 deletions

View file

@ -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;