Flamenco/internal/manager
Sybren A. Stüvel 6c2d3d7fc0 Manager: avoid logging error on HTTP disconnect on some API calls
Improve the error handling on some worker management API calls, to deal
with closed HTTP connections better.

A new function, `api_impl.handleConnectionClosed()` can now be called when
`errors.Is(err, context.Canceled)`. This will only log at debug level, and
send a `419 I'm a Teapot` response to the client. This response will very
likely never be seen, as the connection was closed. However, in case this
function is called by mistake, this response is unlikely to be accepted
by the HTTP client.
2024-06-26 10:26:33 +02:00
..
api_impl Manager: avoid logging error on HTTP disconnect on some API calls 2024-06-26 10:26:33 +02:00
config Manager: normalise slashes when expanding two-way variables 2024-06-25 11:24:27 +02:00
eventbus Manager: set default MQTT topic prefix to 'flamenco' 2024-03-08 16:44:39 +01:00
farmstatus Manager: check the farm status quickly after startup 2024-03-02 22:09:53 +01:00
job_compilers Add shellSplit(someString) function to the job compiler scripts 2024-05-07 12:39:13 +02:00
job_deleter Manager: speed up sequential job deletion by checking db when queue empty 2024-05-28 16:07:22 +02:00
last_rendered Manager tests: replace assert.NoError() with require.NoError() 2024-03-16 11:09:18 +01:00
local_storage Manager tests: replace assert.NoError() with require.NoError() 2024-03-16 11:09:18 +01:00
persistence Manager: fix panic on task timeout 2024-06-25 12:24:30 +02:00
sleep_scheduler Manager tests: replace assert.NoError() with require.NoError() 2024-03-16 12:14:39 +01:00
swagger_ui Swagger UI: remove the "try it out" buttons 2023-02-03 13:40:26 +01:00
task_logs Manager tests: replace assert.NoError() with require.NoError() 2024-03-16 12:14:39 +01:00
task_state_machine Cleanup: fix comment 2024-06-08 20:55:54 +02:00
timeout_checker Manager tests: replace assert.NoError() with require.NoError() 2024-03-16 12:14:39 +01:00