97 Commits

Author SHA1 Message Date
7d37daa32d
preventing server from crashing on client crash 2024-01-24 18:29:02 +01:00
db1b1f8b22
removed fixed todo 2024-01-24 13:28:09 +01:00
492563ee40
renamed why2_config_read to why2_toml_read
idk why i didnt do this at first
2024-01-24 12:18:12 +01:00
8f3a45f3ef
implemented why2_config_read in chat-misc 2024-01-24 12:16:15 +01:00
ddbe899071
added message thread cleanup for server
also swaped the function names cause I am so smart
2024-01-21 13:44:31 +01:00
5fdd267907
fixed why2_clean_threads segfault client 2024-01-20 20:13:58 +01:00
7ffb9b1d9c
fixed client segfault on ssqc 2024-01-20 15:48:34 +01:00
7c9e2211a5
implemented yml config in chat-misc 2023-08-27 12:19:46 +02:00
088ff17b1d
implemented WHY2_CHAT_SERVER_USERNAME macro 2023-08-27 11:56:23 +02:00
92e6632fbc
removed completed TODOs 2023-05-02 19:11:08 +02:00
884efa1a92
prepared WHY2_CHAT_CODEs handler 2023-05-02 19:08:43 +02:00
037521b871
sending WHY2_CHAT_CODE_PICK_USERNAME signal to client at connect 2023-05-02 18:55:21 +02:00
68a484cae1
fixed why2_send_socket's text_copy allocation size 2023-04-20 21:44:46 +02:00
1af6cf45a1
optimalyzed send_to_all loop 2023-04-20 09:49:16 +02:00
41291fd345
removed server received messages 2023-04-20 09:45:39 +02:00
9630da569f
added missing return to why2_accept_thread 2023-04-20 09:42:20 +02:00
2d095daef2
added server connection message 2023-04-20 09:28:39 +02:00
0bfeb17755
implemented why2-llist in chat-misc's connection list
sort of
2023-04-19 14:33:39 +02:00
83c173e22a
fixed stop_oldest_thread always working issue
no fucking way
2023-04-19 12:15:10 +02:00
fda282f491
removed inappropriate debug prints
pls don't view the changes for love of god
2023-04-19 12:00:53 +02:00
12a1dfda52
added same address todo 2023-04-19 11:20:12 +02:00
2af91e5aea
implemented double pointers in stop_oldest_thread 2023-04-19 11:09:26 +02:00
b19a9deee7
kind of implemented llist in chat-misc
DO NOT USE THIS COMMIT, I USE IT JUST FOR SYNCING CODE BETWEEN DEVICES, IT IS UNSTABLE AS FUCK; thx <3
2023-04-18 21:10:42 +02:00
3ca7299086
passing double pointer into waiting_list 2023-04-18 21:09:12 +02:00
4fc6d36262
created local find_request function
it is basically why2_list_find but I changed it a bit
2023-04-18 21:08:18 +02:00
a4da24c4b5
using new thread to cancel waiting
so fixed that shit
2023-04-12 08:02:11 +02:00
46ea373beb
created waiting llist stuff 2023-04-12 08:01:32 +02:00
afeafd78eb
removed why2_accept_thread close TODO 2023-04-05 14:24:40 +02:00
6a4034668b
implemented waiting llist in alarm_handler 2023-04-05 11:21:21 +02:00
278e880e62
created waiting llist
it contains only function for push
2023-04-05 11:12:01 +02:00
cdcc9e53b4
removed all why2_listen_server formatting todos 2023-04-05 10:21:47 +02:00
2991b1f2c3
removed server crash bug todo 2023-04-05 10:20:38 +02:00
aeed3cc5ee
added client timeout todo 2023-04-05 10:18:57 +02:00
c78a82e381
removed stuck TODO 2023-04-05 10:18:11 +02:00
28b2baae3c
fixed infinite waiting in communication loop
yeah I used signal.h (alert) and it works... yay
2023-04-05 10:16:53 +02:00
2f6bf93bf7
added infinity loop todo 2023-04-01 13:46:02 +02:00
0132c00f46
preventing memleaks on exit in why2_communicate_thread loop 2023-04-01 13:36:58 +02:00
8988b88b22
removed unused if statement from why2_communicate_thread loop 2023-04-01 12:49:26 +02:00
8f6a376a62
removed why2_connection_t
it was useless as hell
2023-04-01 12:43:49 +02:00
0a1cb72f5d
quitting communication with user on invalid packet receive 2023-03-31 18:36:09 +02:00
8d387df7d7
removing control characters from sent 2023-03-31 18:21:06 +02:00
efa1d24047
fixed invalid return in send_to_all 2023-03-31 18:12:56 +02:00
e0e82d2570
skipping read_socket_from_raw if invalid syntax was sent 2023-03-31 18:09:35 +02:00
af03d64699
skipping send_to_all if invalid syntax was sent 2023-03-31 17:50:40 +02:00
4b481d71ca
removing invalid json syntax on send 2023-03-31 17:47:05 +02:00
d9fe24b166
added json syntax todo 2023-03-25 18:20:06 +01:00
85834544aa
removing last char only when it's newline 2023-03-25 17:50:19 +01:00
7359c678d4
removed the n-word from debugging
whoopsie :D
2023-03-25 17:46:58 +01:00
1087e40cfc
sending json format in send_to_all 2023-03-25 17:39:52 +01:00
069338177e
added send_to_all TODO 2023-03-25 17:17:54 +01:00