Commit Graph

26 Commits

Author SHA1 Message Date
jiangjianfeng 39cc0dca26 Add socket hash table 2024-12-30 09:46:14 +08:00
jiangjianfeng 72cb160539 Add keepidle tcp option 2024-12-18 13:19:34 +08:00
jiangjianfeng 8b07a68e9e Add regression test for keepalive and tcp nodelay 2024-12-15 16:50:43 +08:00
jiangjianfeng 74a59206d7 Refactor sockoption.c with test framework 2024-12-15 16:50:43 +08:00
Ruihan Li 827c15aa03 Add self-connecting regression tests 2024-11-08 10:49:02 +08:00
Jianfeng Jiang 00ffc5266d Add tcp poll test program 2024-10-28 22:47:50 +08:00
Jianfeng Jiang ea8327af0f Add regression test for sendmsg/recvmsg 2024-09-20 10:37:20 +08:00
Ruihan Li 320092eda2 Implement blocking `connect` properly 2024-09-13 22:09:46 +08:00
Ruihan Li 6f915133b5 Fix error codes in `bind` 2024-09-13 22:09:46 +08:00
Ruihan Li a345e11b96 Fix error codes in `send`, `recv`, `accept` 2024-09-13 22:09:46 +08:00
Ruihan Li a8592a16ea Fix I/O events related to shutdown 2024-09-13 22:09:46 +08:00
Ruihan Li 421f6b8e5b Fix I/O events cross different states 2024-09-13 22:09:46 +08:00
Ruihan Li f831f5685f Fix I/O events for UNIX connected sockets 2024-09-13 22:09:46 +08:00
Ruihan Li 21a1041d27 Clean up files generated by UNIX regression tests 2024-08-28 19:54:36 +08:00
Ruihan Li 65aa156e92 Implement UNIX abstract address namespace 2024-08-28 19:54:36 +08:00
Yuke Peng 7b58d97aa2 Add regression test for `SO_REUSEADDR` 2024-08-28 14:01:18 +08:00
Cautreoxit 86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
Ruihan Li 47857fc10f Fix remote addresses in connected UNIX sockets 2024-08-18 23:57:56 +08:00
Ruihan Li a3d4748d6b Fix behavior in UNIX socket `listen()` 2024-08-18 23:57:56 +08:00
Ruihan Li f499f54cf5 Record the original bound name 2024-08-13 19:32:22 +08:00
Ruihan Li 6b50d28ba1 Remove unnecessary self-connecting check 2024-08-13 19:32:22 +08:00
Ruihan Li 5445a26ec5 Fix results of getting UNIX names 2024-08-13 19:32:22 +08:00
Ruihan Li 4deba9baca Rewrite the whole `net/addr.rs` file 2024-08-05 10:24:56 +08:00
Jianfeng Jiang 3981cd63cd Wake up background polling thread when old_instant is 0
Co-authored-by: Ruihan Li <lrh2000@pku.edu.cn>
2024-07-29 16:56:29 +08:00
Ruihan Li 328ce9e92c Properly close sockets 2024-07-29 16:56:29 +08:00
Fabing Li f675552c5a Rename regression to test 2024-06-28 20:33:21 +08:00