about summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-10-01 21:09:22 +0200
committerbptato <nincsnevem662@gmail.com>2024-10-01 21:18:59 +0200
commitb0a511f900a2884c0d1bb55e3991c068ef3e37f2 (patch)
tree2ac5d77d3f62d844335d0dd00e840a8f5b38d726 /res
parentee113a5643ed32b7f6ed2522aed92ac700021097 (diff)
downloadchawan-b0a511f900a2884c0d1bb55e3991c068ef3e37f2.tar.gz
ftp: remove libcurl dependency
This splits out sftp into a separate binary that *does* depend on
libcurl. However, ftp now uses the same socket code as gopher.

ftps is dropped, because I've never even tested it. Maybe I'll add
it back when we have working OpenSSL bindings.

This is still "doing the easy part first", now I have no clue how to
handle sftp because my initial plan ("just use the sftp binary") doesn't
work - sftp batch mode doesn't accept passwords. libssh2 remains the
sole candidate, but that's what libcurl wraps anyway.
Diffstat (limited to 'res')
-rw-r--r--res/urimethodmap3
1 files changed, 1 insertions, 2 deletions
diff --git a/res/urimethodmap b/res/urimethodmap
index 91032615..9b1362ab 100644
--- a/res/urimethodmap
+++ b/res/urimethodmap
@@ -7,8 +7,7 @@ gemini:			cgi-bin:gmifetch
 about:			cgi-bin:about
 file:			cgi-bin:file
 ftp:			cgi-bin:ftp
-sftp:			cgi-bin:ftp
-ftps:			cgi-bin:ftp
+sftp:			cgi-bin:sftp
 gopher:			cgi-bin:gopher
 spartan:		cgi-bin:spartan
 man:			cgi-bin:man