Commit Graph

70 Commits

Author SHA1 Message Date
Alex cf8391ed77
Lots of fixes, ughhh 2020-08-22 18:34:15 +02:00
Alex 905afcc485
Report connection errors back to main and add more refined filtering, add more connection states to reflect between connection established and acknowledged by the server 2020-08-20 19:51:43 +02:00
Alex 94a11c328e
Help for the options 2020-08-19 15:01:30 +02:00
Alex cf97130aef
Split forked main loop into another function 2020-08-19 14:44:26 +02:00
Alex 90a7bc1169
Lots of code refactoring 2020-08-17 22:13:17 +02:00
Alex e1fdae99e4
Use FIFO pipes for input 2020-08-05 22:16:38 +02:00
Alex c73dbe983a
Remove start from mkdir_bottomup, use category for directory creation and add (linux specific) path limits, change directory instead of using a root directory for paths, move variables around for better readablity, add file logs back 2020-08-02 21:56:48 +02:00
Alex 77635c120b
Rewrite lots of things, reorganize stuff, add reconnect delays and fix most reconnect hangs or bugs 2020-08-01 19:45:14 +02:00
Alex 70439434b4
Fix a bug where first connection would be used and fix some weird code i wrote, add edge case handling 2020-07-30 23:02:55 +02:00
Alex 60fd437b55
Remove commented code and use a temporary strcpy buffer 2020-07-30 22:17:23 +02:00
Alex 35f5f893ce
Make sure values are nulled out 2020-07-29 22:23:13 +02:00
Alex d0cfc5f718
Fix memory leak and use static allocation 2020-07-29 22:11:05 +02:00
Alex 04c876e339
Add logging levels, fix a few bugs, add connection log path, use flush_buffer everywhere and handle partial flushes correctly, fix a memory leak, ping the server (to test if the connection is alive) 2020-07-29 16:49:59 +02:00
Alex 6e3db7c7f3
Update repo, separate files, add inclusion guards where needed 2020-07-25 14:03:18 +02:00
Alex 1619409b5a
Allow only alphanumerics and . + - _ # & in the pathnames 2020-07-21 22:28:57 +02:00
Alex 20f00eb62c
Refactor code 2020-07-21 22:13:37 +02:00
Alex 68bc175bd5
Add safety features and fix a few potential bugs, add more strict flags 2020-07-21 19:05:40 +02:00
Alex 2c9a714238
Fix special case where append position is not null terminated, causing garbage to be read, add logging to file and directory creation 2020-07-20 19:15:00 +02:00
Alex 4dfbf0d1d4
Some work 2020-07-18 19:37:24 +02:00
Alex dcb642b15e
Initial commit 2020-07-17 15:47:25 +02:00