wings/server
Matthew Penner 43227bf24d
server(transfer): fix dead-lock while uploading archive
Previously we waited for both the request and multipart writer
to "complete", before handing any errors.  This lead to a problem
where if the request returns before all the data has been read,
the upload would become stuck and keep the server in a transferring
state when the transfer should've been aborted.

Closes https://github.com/pterodactyl/panel/issues/4578
2022-11-29 14:04:27 -07:00
..
backup Streaming Transfers (#153) 2022-11-14 18:25:01 -07:00
filesystem Cleanup request error handling; properly handle os.ErrNotExist errors (#150) 2022-11-22 11:18:27 -07:00
installer Streaming Transfers (#153) 2022-11-14 18:25:01 -07:00
transfer server(transfer): fix dead-lock while uploading archive 2022-11-29 14:04:27 -07:00
activity.go chore: reformat code 2022-10-06 09:58:42 -06:00
backup.go server(filesystem): fix inaccurate archive progress (#145) 2022-11-06 13:38:30 -07:00
config_parser.go Add additional debug points to server start process 2022-01-31 19:30:07 -05:00
configuration.go Add customizable container labels (#146) 2022-10-16 17:17:27 -06:00
console_test.go run gofumpt 2022-02-23 15:02:19 -07:00
console.go chore: reformat code 2022-10-06 09:58:42 -06:00
crash.go organize imports with gopls format 2021-01-10 01:22:39 +00:00
errors.go run gofumpt 2021-11-15 10:37:56 -07:00
events.go Streaming Transfers (#153) 2022-11-14 18:25:01 -07:00
install.go server(install): update installation status request 2022-11-21 14:57:44 -07:00
listeners.go chore: reformat code 2022-10-06 09:58:42 -06:00
manager.go Add customizable container labels (#146) 2022-10-16 17:17:27 -06:00
mounts.go break everything 2021-08-02 15:07:00 -06:00
power_test.go chore: reformat code 2022-10-06 09:58:42 -06:00
power.go chore: reformat code 2022-10-06 09:58:42 -06:00
resources.go Cleanup logic for updating stats to avoid calling mutex outside of file 2022-01-30 11:55:59 -05:00
server.go Move the sink pool to be a shared tool 2022-02-02 19:16:34 -05:00
update.go Fix logic for context based environment stopping 2022-01-31 19:09:08 -05:00
websockets.go Close websocket connections and allow the client to re-connect on send errors; ref pterodactyl/panel#3596 2021-10-24 16:14:00 -07:00