about summary refs log tree commit diff stats
path: root/src/loader/loader.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-12 21:36:30 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-12 21:39:42 +0100
commit1df10adfe7eb20bc460eeb0e5a8e242970642c58 (patch)
treeb33ff0e21bcb4c621b959ebb1f05b6c534c9e879 /src/loader/loader.nim
parenta6166c4dfc7b028761a884127cc78aeb0056ed8d (diff)
downloadchawan-1df10adfe7eb20bc460eeb0e5a8e242970642c58.tar.gz
Move out ftp: protocol; fix some local CGI bugs
Diffstat (limited to 'src/loader/loader.nim')
-rw-r--r--src/loader/loader.nim5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/loader/loader.nim b/src/loader/loader.nim
index 28029160..13684301 100644
--- a/src/loader/loader.nim
+++ b/src/loader/loader.nim
@@ -31,7 +31,6 @@ import js/javascript
 import loader/cgi
 import loader/connecterror
 import loader/curlhandle
-import loader/ftp
 import loader/gopher
 import loader/headers
 import loader/http
@@ -141,10 +140,6 @@ proc loadResource(ctx: LoaderContext, request: Request, handle: LoaderHandle) =
       let handleData = handle.loadHttp(ctx.curlm, request)
       if handleData != nil:
         ctx.handleList.add(handleData)
-    of "ftp", "ftps", "sftp":
-      let handleData = handle.loadFtp(ctx.curlm, request)
-      if handleData != nil:
-        ctx.handleList.add(handleData)
     of "gopher", "gophers":
       let handleData = handle.loadGopher(ctx.curlm, request)
       if handleData != nil: