1
mirror of https://github.com/rclone/rclone synced 2024-12-05 15:55:18 +01:00
rclone/cmd/serve
Nick Craig-Wood 50a3a96e27 serve sftp: fix crash on unsupported operations (eg Readlink)
Before this change the sftp handler returned a nil error for unknown
operations which meant the server crashed when one was encountered.

In particular the "Readlink" operations was causing problems.

After this change the handler returns ErrSshFxOpUnsupported which
signals to the remote end that we don't support that operation.

See: https://forum.rclone.org/t/rclone-serve-sftp-not-working-in-windows/12209
2019-10-09 16:12:21 +01:00
..
dlna dlna: associate subtitles with all possible media nodes 2019-10-09 11:57:42 +01:00
ftp serve: factor out common testing parts for ftp, sftp and webdav tests 2019-08-06 11:43:42 +01:00
http serve http/webdav/restic/rc: rename --prefix flag to --baseurl #3398 2019-08-24 09:10:50 +01:00
httplib serve/httplib: Write the template to a buffer to catch render errors 2019-09-22 21:31:11 +01:00
proxy serve: add auth proxy infrastructure 2019-08-06 11:43:42 +01:00
restic build: drop support for go1.9 2019-09-04 10:23:48 +01:00
servetest fstest: remove -subdir flag as it no longer tests anything useful #3421 2019-08-17 09:54:19 +01:00
sftp serve sftp: fix crash on unsupported operations (eg Readlink) 2019-10-09 16:12:21 +01:00
webdav build: drop support for go1.9 2019-09-04 10:23:48 +01:00
serve.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00