storj/cmd/uplink
Egon Elbre 1ed36e9fea cmd/uplink: make clearer ctx cancellation path in copy
When ctx is cancelled limiter won't start a new goroutine.
The code didn't immediately return an error in that case.

The dst.Commit(ctx) would fail anyways due to a cancelled ctx.
However, we can make the behavior clearer by returning immediately.

Change-Id: I65df7ca85de55813f3200a50db2eaaa7a297ba2c
2022-04-25 18:16:46 +03:00
..
cmd cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
ulext cmd/uplink: cp sets connection pool capacity based on parallelism 2022-04-21 14:10:08 +00:00
ulfs cmd/uplink/ulfs: disallow writes after first failure 2022-04-25 18:16:46 +03:00
ulloc cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
ultest cmd/uplink: integrate server-side copy with uplink cp command 2022-03-31 09:25:29 +00:00
access_maker.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
access_permissions.go cmd/uplink: refactor date parsing 2022-04-05 01:03:20 +00:00
cmd_access_create.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_export.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_import.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_inspect_test.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_inspect.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_list.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_register.go cmd/uplinkng: registeraccess via libuplink 2022-02-11 11:36:45 +00:00
cmd_access_remove.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_restrict.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_revoke.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_access_setup.go cmd/uplinkng: registeraccess via libuplink 2022-02-11 11:36:45 +00:00
cmd_access_use.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_cp_test.go cmd/uplink: integrate server-side copy with uplink cp command 2022-03-31 09:25:29 +00:00
cmd_cp.go cmd/uplink: make clearer ctx cancellation path in copy 2022-04-25 18:16:46 +03:00
cmd_ls_test.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_ls.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_mb.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_meta_get.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_mv_test.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_mv.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_rb.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_rm_test.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_rm.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
cmd_share_test.go cmd/uplinkng: fix linkshare bugs 2022-03-03 16:00:10 +00:00
cmd_share.go cmd/uplinkng: fix linkshare bugs 2022-03-03 16:00:10 +00:00
cmd_version.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
external_access.go cmd/uplink: fix migration for some old configs 2022-02-16 21:13:52 +00:00
external_config.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
external_migrate.go cmd/uplink: fix migration for some old configs 2022-02-16 21:13:52 +00:00
external_project.go cmd/uplink: cp sets connection pool capacity based on parallelism 2022-04-21 14:10:08 +00:00
external.go all: fix linting errors 2022-03-30 18:45:23 +03:00
initial_setup.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
main.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00
stdlib_flags_test.go cmd/uplink: refactor date parsing 2022-04-05 01:03:20 +00:00
stdlib_flags.go cmd/uplink: refactor date parsing 2022-04-05 01:03:20 +00:00
tabbed_writer.go cmd/uplinkng: become cmd/uplink 2022-02-09 17:02:21 +00:00