Commit graph

197 commits

Author SHA1 Message Date
Quentin 504fa7f2df Better handling of buffers 2019-05-24 14:05:42 +02:00
Quentin bf37e61e50 Don't fail when we free + memset to reset buffer 2019-05-24 13:51:56 +02:00
Quentin fd241b08f0 Better indent 2019-05-24 11:49:00 +02:00
Quentin 6034def186 Dump packets 2019-05-24 11:46:23 +02:00
Quentin fc9ec0e213 Drop unknown packets 2019-05-24 11:25:31 +02:00
Quentin 1739f7a1ab Add a log for unrecognized packet commands 2019-05-24 11:15:52 +02:00
Quentin 516b2707b5 Improve debug 2019-05-24 11:04:37 +02:00
Quentin 33ba4b2d55 Some debug + reset buffers 2019-05-24 10:52:49 +02:00
Quentin 2d0f285bc2 Better buffer reset 2019-05-23 23:13:09 +02:00
Quentin 7d7b40724c Fix a stupid bug 2019-05-23 22:53:00 +02:00
Quentin ccd5fe14a2 Improve 2019-05-23 22:36:26 +02:00
Quentin 5fe711dc77 Fix stupid bug 2019-05-21 14:14:59 +02:00
Quentin 2b989f15d8 Fix algo 2019-05-15 09:38:02 +02:00
Quentin ff1b94e3ef Change packet order reception 2019-05-15 09:29:56 +02:00
Quentin e98fb6d8d4 Try to debug donar.
Should swap packet order instead...
2019-05-15 08:54:00 +02:00
Quentin f5303b09bb Fix asserts 2019-05-14 14:54:10 +02:00
Quentin 10cde520c9 Fix bug and RTT abbr 2019-05-14 14:48:40 +02:00
Quentin a3712bac77 Must start with id=1 2019-05-14 14:08:58 +02:00
Quentin f94d2109d9 Register packet only if not already delivered! 2019-05-14 13:56:19 +02:00
Quentin 05384a424a Add missing information 2019-05-14 12:02:56 +02:00
Quentin 46f54fd145 Remove bugs 2019-05-14 11:25:33 +02:00
Quentin 36a6dbaad2 We want to use an union 2019-05-14 11:23:23 +02:00
Quentin 3e07b012e2 Better comments 2019-05-13 18:41:10 +02:00
Quentin 9fb2396e54 Add current link just in case 2019-05-13 18:38:48 +02:00
Quentin dafd69e649 New round robin is compiling! 2019-05-13 18:37:49 +02:00
Quentin 9cc27e9613 Fix receive logic 2019-05-13 17:26:31 +02:00
Quentin 67a3c2a610 Add missing features to health packet 2019-05-13 16:46:04 +02:00
Quentin 5bcab96393 Add buffer release for control packets (health) 2019-05-13 16:34:22 +02:00
Quentin 5d38679dbb Reimplement timeout RR 2019-05-13 16:14:23 +02:00
Quentin 778181a153 Fix simple algorithms 2019-05-13 10:21:11 +02:00
Quentin 77b6027feb Rework packet format 2019-05-13 10:02:43 +02:00
Quentin ed042b1d82 Comment too verbose log 2019-05-10 10:39:15 +02:00
Quentin 47e47dceef Many buffers - stopping link broken 2019-05-09 19:53:47 +02:00
Quentin a16fb465f8 Set link number 2019-05-09 15:33:27 +02:00
Quentin 9685885afe Tracking memory leaks is improving 2019-05-09 11:39:03 +02:00
Quentin 163110c814 Now handle signals 2019-05-09 11:24:05 +02:00
Quentin 8b6f5c63f6 Work but leak 2019-05-07 19:18:27 +02:00
Quentin a0ca207975 Fix algo dup2 and algo naive potential bug 2019-05-06 17:17:45 +02:00
Quentin 9c606c2162 Also speed up naive algorithm! 2019-05-06 15:03:53 +02:00
Quentin df4e56775d Let be a bit more clever :D 2019-05-06 15:01:42 +02:00
Quentin 79929eb5c8 Working dup2 algo 2019-05-06 14:52:57 +02:00
Quentin 260e1810ba Link dup2 to proxy 2019-05-06 14:23:14 +02:00
Quentin 093face009 Non tested algo_dup2 2019-05-06 12:02:25 +02:00
Quentin Dufour 7e25f35042 Refactor my code 2019-04-24 16:23:41 +02:00
Quentin Dufour e176314057 Better debug options 2019-04-18 14:34:38 +02:00
Quentin Dufour 2ced09ceba Measlat add measurement date 2019-04-17 16:24:56 +02:00
Quentin Dufour 1dd7119094 Clean code 2019-04-04 11:32:11 +02:00
Quentin Dufour f72d528bef Try to fix invalid free 2 2019-04-04 10:44:20 +02:00
Quentin Dufour 0d62fca3d4 Try to fix invalid free() 2019-04-04 10:19:55 +02:00
Quentin Dufour cd4769e30b Switch naive to debug and try to track the free error 2019-04-03 17:20:24 +02:00