rclone/fs/rc
Nick Craig-Wood a7689d7023 rcserver: fix 500 error when marshalling errors from core/command
Before this change attempting to return an error from core/command
failed with a 500 error and a message about unmarshable types.

This is because it was attempting to marshal the input parameters
which get _response added to them which contains an unmarshalable
field.

This was fixed by using the original parameters in the error response
rather than the one modified during the error handling.

This also adds end to end tests for the streaming facilities as used
in core/command.
2021-01-10 16:34:46 +00:00
..
jobs docs: spelling: e.g. 2020-10-28 18:16:23 +00:00
js js: add experimental interface for integrating rclone into browsers 2020-08-10 17:32:21 +01:00
rcflags rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
rcserver rcserver: fix 500 error when marshalling errors from core/command 2021-01-10 16:34:46 +00:00
webgui plugins: Create plugins files only if webui is enabled. Fixes #4592. May fix #4600. 2020-12-27 15:05:41 +00:00
cache.go fs: Add context to NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
cache_test.go test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
config.go rc: add context to flag Reload function #4685 2020-11-27 17:28:42 +00:00
config_test.go rc: add context to flag Reload function #4685 2020-11-27 17:28:42 +00:00
internal.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
internal_test.go rc: fix core/command giving 500 internal error - fixes #4914 2021-01-10 16:34:46 +00:00
params.go fs/rc: add Copy method to rc.Params 2021-01-10 16:34:46 +00:00
params_test.go fs/rc: add Copy method to rc.Params 2021-01-10 16:34:46 +00:00
rc.go rcd: Add Prometheus metrics support - fixes #3858 2020-03-01 09:58:34 +00:00
rc_test.go fs/rc: add more infrastructure to help writing rc functions 2018-11-02 17:32:20 +00:00
registry.go rc: add NeedsResponse for rc calls 2020-08-17 17:09:31 +01:00