Commit Graph
122 Commits
Author SHA1 Message Date
Evgeny 665f72d7ce Remove accidentally committed binaries and temp files 2026-04-22 11:45:54 +03:00
Evgeny f45508628e WIP: debug byte order diagnostics 2026-04-22 02:14:47 +03:00
Evgeny 170f079485 Add name parameter to uasync_set_timeout for timer identification in dumps 2026-04-21 19:06:45 +03:00
Evgeny d413412f55 Fix: use allocated_count from mem.c for busy memory calculation
busy = u_get_allocated_count() - memory_pool_get_total_free_blocks()
2026-04-21 17:41:45 +03:00
Evgeny 348776ead4 GUI: add active timeouts and busy memory blocks counters
- Add timeout_heap_get_size() to get active timer count
- Add global counters in memory_pool: g_total_free and g_total_allocated
- Simplify busy memory calculation to single formula:
  busy = memory_pool_get_total_allocated() - memory_pool_get_total_free_blocks()
- Add new IDC_EDIT_ACTIVE_TIMEOUTS and IDC_EDIT_BUSY_MEMORY to GUI
2026-04-21 17:22:58 +03:00
Charlie Root 8bec4fbe1e 1 2026-04-21 17:13:11 +03:00
Evgeny 8183d38838 mem: add allocations and frees counters with u_mem_get_counters() 2026-04-21 15:35:46 +03:00
Charlie Root 876e480f33 1 2026-04-21 15:33:46 +03:00
jeka bda6adb2a7 1 2026-04-21 15:18:09 +03:00
Charlie Root 89419a9cee 1 2026-04-21 02:29:31 +03:00
Evgeny ab828f80cd Memory: use DEBUG for hex_dump output instead of printf 2026-04-21 02:27:33 +03:00
Evgeny 8297c57ef4 Memory: refactor hex_dump to use buffer with DEBUG output 2026-04-21 02:26:27 +03:00
Evgeny b793406b28 1 2026-04-21 02:20:53 +03:00
Evgeny 4855768884 Memory: add hex dump for unfreed blocks in u_report_unfreed_blocks 2026-04-21 01:54:20 +03:00
Evgeny d572b51eb0 Memory: add location tracking to pool alloc/free with debug logging 2026-04-20 22:48:27 +03:00
jeka 8becc69215 1 2026-04-15 15:29:26 +03:00
Evgeny 099ba54ece 1 2026-04-15 15:15:15 +03:00
Evgeny ed5e833fcb 1 2026-04-15 10:13:38 +03:00
jeka d0db32badd 1 2026-04-15 09:00:12 +03:00
Evgeny 25198df326 serializer 2026-04-14 02:03:59 +03:00
Evgeny 33d1a1a9d3 1 2026-04-13 23:56:19 +03:00
Evgeny 7d9aff4ace Add test_serialize to Makefile and include serialize in libuasync.a
- tests/Makefile.am: add test_serialize to check_PROGRAMS
- lib/Makefile.am: add serialize.c/h to libuasync_a_SOURCES
2026-04-13 23:50:32 +03:00
Evgeny 71061f1388 Add serialize library for binary serialization with dynamic allocation
- serialize.h/c: universal binary serialization for structures with
  variable-length fields (ASCIIZ, ARRAY) using pointers
- Auto allocation via u_malloc during deserialization
- Support for header (arbitrary bytes at buffer start)
- serialize_encode(): serialize structure to buffer
- serialize_decode(): deserialize from buffer (without header)
- serialize_free(): free structure and all its pointers
- tests/test_serialize.c: unit tests
2026-04-13 23:08:54 +03:00
Evgeny 2594381c7c Fix test_bgp_route_exchange: correct IP byte order constants and platform_compat.h endian include 2026-04-13 14:05:32 +03:00
Evgeny 45c2107516 backup: before Variant B selective socket/client/link reload impl 2026-04-09 20:35:59 +03:00
jeka 378ffc0925 1 2026-04-09 14:29:21 +03:00
Evgeny 49b3d470e1 win_upd 2026-04-07 14:03:40 +03:00
Charlie Root 5a84c0e9e2 sliding_win 2026-04-07 10:42:13 +03:00
Evgeny 6517a730db fix cpu consume at idle 2026-04-03 03:29:51 +03:00
Evgeny b72d89da2d route redesign + tests 2026-03-30 18:26:56 +03:00
Evgeny a3b7a385f0 queue: add variable size hash
bgp: add to headers new node info
2026-03-28 21:52:46 +03:00
Evgeny 3ab63cadbb -warn 2026-03-27 15:14:07 +03:00
Evgeny 8271ec3ecb 1 2026-03-26 00:01:47 +03:00
Evgeny 35cb85a537 1 2026-03-25 23:49:59 +03:00
Evgeny 085c609b36 test fix, log update 2026-03-25 22:49:57 +03:00
jeka ebf3b10379 1 2026-03-25 20:39:12 +03:00
jeka 5d467097f6 1 2026-03-25 20:35:45 +03:00
jeka 9b29cb3c71 +ip change 2026-03-25 18:39:31 +03:00
jeka 036e642b55 1 2026-03-15 01:44:37 +03:00
jeka 87218a60e0 fix ack timestamp 2026-03-13 22:35:26 +03:00
jeka a54c6c82be 1 2026-03-13 16:19:58 +03:00
jeka 6d671a85db route improvements 2026-03-12 02:57:38 +03:00
jeka 4606c827b6 routing базово работает 2026-03-09 23:07:38 +03:00
Evgeny 27ab2b1eb2 1 2026-03-08 19:05:31 +03:00
Evgeny 264382f1a2 1 2026-03-08 18:52:53 +03:00
jeka e917ec7ecf 1 2026-03-08 17:35:00 +03:00
jeka d2e0aafd5e 1 2026-03-08 17:31:56 +03:00
jeka 834b65a56c 1 2026-03-08 17:19:38 +03:00
jeka 23cab26ef6 1 2026-03-08 16:52:24 +03:00
jeka 4be6025e91 1 2026-03-07 20:47:15 +03:00