wings/system
Dane Everitt 9f985ae044 Check for error before prefix; fixes abandoned routine; closes pterodactyl/panel#3911
Due to the order of the previous logic in ScanReader, an error not caused by EOF would effectively get ignored since an error will always be returned with `isPrefix` equal to false, thus triggering the first break, and error checking is not performed beyond that point.

Thus, canceling an installation process for a server while this process was running would hang the routine and cause the loop to run endlessly, even with a canceled context.
2022-02-05 11:56:17 -05:00
..
const.go change default version to be 'develop' 2021-11-15 10:25:39 -07:00
locker_test.go Fix failing test 2022-01-31 19:33:32 -05:00
locker.go Return context cancelations as a locker locked error 2022-01-31 18:39:41 -05:00
rate_test.go Rewrite console throttling logic; drop complex timer usage and use a very simple throttle 2022-01-30 19:31:04 -05:00
rate.go Rewrite console throttling logic; drop complex timer usage and use a very simple throttle 2022-01-30 19:31:04 -05:00
sink_pool_test.go Move the sink pool to be a shared tool 2022-02-02 19:16:34 -05:00
sink_pool.go Move the sink pool to be a shared tool 2022-02-02 19:16:34 -05:00
system.go organize imports with gopls format 2021-01-10 01:22:39 +00:00
utils_test.go Add test coverage 2022-01-30 13:58:36 -05:00
utils.go Check for error before prefix; fixes abandoned routine; closes pterodactyl/panel#3911 2022-02-05 11:56:17 -05:00