Commit Graph

82 Commits

Author SHA1 Message Date
Maschell
09412116ad Fix resuming file uploads 2022-10-08 17:21:32 +02:00
Maschell
d42c710156 Improve transfer speeds massively 2022-10-08 17:09:15 +02:00
Maschell
47b059cb48 Wait with thread cleanup until the thread has ended 2022-10-08 16:06:48 +02:00
Maschell
f5d6c3d508 Fix check for virtual dir in vrt_closedir to avoid calling closedir() with a virtual dir 2022-10-08 16:06:48 +02:00
Maschell
81707c4a30 Fix memory leak, the path is always allocated on the heap 2022-10-08 16:06:48 +02:00
Maschell
c6e9c29cd7 Reduce sleep time on error 2022-10-07 15:38:18 +02:00
Maschell
3f0d70cc4c Only unmounts devices if they were mounted before 2022-10-07 15:38:18 +02:00
Maschell
bba4877281 Revert lowering the priority 2022-10-07 15:38:18 +02:00
Maschell
6e2ea75917 Fix exiting 2022-10-06 23:19:52 +02:00
Maschell
258e93d01e Increase the sleep duration if no client is connected. 2022-10-06 19:04:28 +02:00
Maschell
48eac1549e Reduce priority to 17 2022-10-06 19:04:28 +02:00
Maschell
f399e97aa8 Use lock_guard and OSMemoryBarrier 2022-10-06 19:04:28 +02:00
Maschell
174d13339f Restart the server on error 2022-10-06 19:04:28 +02:00
Maschell
5da7be81b7 Retry creating passive_socket of error 2022-10-06 19:04:28 +02:00
Maschell
0968810796 Improve error handling for virtual paths 2022-10-06 19:04:28 +02:00
Maschell
4ac4e0a9a6 Init the virtual /fs/ and /fs/vol/ path properly 2022-10-06 19:04:28 +02:00
Maschell
50600d3d82 Always call shutdown for a socket 2022-10-06 19:04:28 +02:00
Maschell
52766cdca1 Stop the server in ON_APPLICATION_ENDS instead of ON_APPLICATION_REQUESTS_EXIT hook 2022-10-06 12:22:49 +02:00
Maschell
2a79fd7862 Fix potential softlock that could happen if the thread was canceled but is not (marked as) terminated 2022-10-06 12:22:49 +02:00
Maschell
9b64c3bb51 Only join the thread if it's not already terminated 2022-10-05 20:09:29 +02:00
Maschell
10838cfafb Make sure the server is destroyed when launching a title 2022-10-05 20:09:29 +02:00
Maschell
45ea7ac07e Do not hardcode the threadname in the CThread class 2022-10-05 20:09:29 +02:00
Maschell
85cedda15e Improve commit messages for nightly releases 2022-10-05 20:09:29 +02:00
Maschell
8f65341658 Use C++20 2022-10-05 20:09:29 +02:00
Maschell
ef6360ac3c Update Makefile to be compatible to CLion 2022-10-05 20:09:29 +02:00
Vague Rant
6ca2bbda45 Correct line endings in FEAT response 2022-09-23 21:22:20 +02:00
Vague Rant
13e9c38512 Report UTF8 support to clients 2022-09-23 15:24:52 +02:00
Maschell
092142dffd Bump version 2022-09-19 21:51:41 +02:00
Maschell
c7aef1ff94 Update the README 2022-09-19 14:26:34 +02:00
Maschell
0f61c1ecfb Add a config menu to enabled/disable the server, see the ip, and enabled/disable access to system files 2022-09-19 14:26:34 +02:00
Maschell
c40df1a909 Update the version and add support using the git hash on nightlies 2022-09-19 13:40:29 +02:00
Maschell
79522dc356 Fix displaying files/dirs with a broken date in some ftp clients 2022-09-06 12:18:46 +02:00
Maschell
21c34020a5 Update libraries 2022-09-04 10:33:48 +02:00
Maschell
28337bfebb Use ubuntu-22.04 for the CI 2022-09-04 10:33:48 +02:00
Maschell
dccfa5e6c1 Add LICENSE 2022-09-04 10:33:48 +02:00
Maschell
acde083dcf Use libmocha instead of libiosuhax 2022-08-27 13:36:49 +02:00
Maschell
fe8c2abd1e Build the plugin with different log levels on PRs 2022-05-14 19:54:27 +02:00
Maschell
be2af9fdf0 Adjust logs to use a proper log-level 2022-05-14 19:54:27 +02:00
Maschell
ab41975478 Control log level with build flags, update README 2022-05-14 19:54:27 +02:00
Maschell
ed72f45814 Update to logging macros to include the plugin name 2022-05-14 19:54:27 +02:00
Maschell
e2a3b36bbb Use the latest wut version to properly display the time/date 2022-05-14 19:54:27 +02:00
Maschell
0b1f944a9a Fix displaying the permissions 2022-05-14 19:54:27 +02:00
Maschell
9269c548aa Formatting 2022-03-03 19:19:01 +01:00
Maschell
b8db1ca6a9 Only return strings from heap, never stack. Fixes access to "/" 2022-03-03 19:19:01 +01:00
Maschell
c0f4ed1863 Try to avoid use after free 2022-02-07 18:51:58 +01:00
Maschell
6b1ad4b64a Fix memory leaks 2022-02-07 18:51:58 +01:00
Maschell
0b57f21408 Add missing shudown call 2022-02-07 18:51:58 +01:00
Maschell
63f21d5a18 Format the code via clang-format 2022-02-04 14:36:55 +01:00
Maschell
5e6e8bdb53 Formatting and cleanup 2022-01-30 21:05:09 +01:00
Maschell
8c9c2f3bb1 Update Dockerfile, use WUPS 0.7.1 2022-01-30 21:00:07 +01:00