remove ftp code

This commit is contained in:
ading2210 2024-03-19 16:40:25 -04:00
parent 6b32d503e2
commit d23703ff9a
4 changed files with 5 additions and 80 deletions

View file

@ -79,7 +79,6 @@ class CurlSession {
this.event_loop = setInterval(() => {
let libcurl_active = _session_get_active(this.session_ptr);
if (libcurl_active || this.active_requests) {
console.log("test");
_session_perform(this.session_ptr);
}
else {
@ -147,12 +146,12 @@ class CurlSession {
headers_callback(stream);
}
if (error != 0) {
try {
stream_controller.close();
}
catch {}
console.log(error);
try {
stream_controller.close();
}
catch {}
end_callback(error);
}