Commit Graph

32 Commits

Author SHA1 Message Date
d40d452e9d Receive RST packets as ECONNRESET errors 2025-03-10 18:08:08 +08:00
aa29640ed7 Send RST packets when appropriate 2025-03-10 18:08:08 +08:00
388eec449a Add ip level socket option 2025-03-07 13:38:02 +08:00
d37e60d082 Report socket errors in send/recv 2025-03-05 19:48:28 +08:00
68cf99993e Remove socket errors from SocketOptionSet 2025-03-05 19:48:28 +08:00
3f951e0c0c Enable gVisor tcp_socket_test 2025-02-11 10:50:20 +08:00
39cc0dca26 Add socket hash table 2024-12-30 09:46:14 +08:00
72cb160539 Add keepidle tcp option 2024-12-18 13:19:34 +08:00
8b07a68e9e Add regression test for keepalive and tcp nodelay 2024-12-15 16:50:43 +08:00
74a59206d7 Refactor sockoption.c with test framework 2024-12-15 16:50:43 +08:00
827c15aa03 Add self-connecting regression tests 2024-11-08 10:49:02 +08:00
00ffc5266d Add tcp poll test program 2024-10-28 22:47:50 +08:00
ea8327af0f Add regression test for sendmsg/recvmsg 2024-09-20 10:37:20 +08:00
320092eda2 Implement blocking connect properly 2024-09-13 22:09:46 +08:00
6f915133b5 Fix error codes in bind 2024-09-13 22:09:46 +08:00
a345e11b96 Fix error codes in send, recv, accept 2024-09-13 22:09:46 +08:00
a8592a16ea Fix I/O events related to shutdown 2024-09-13 22:09:46 +08:00
421f6b8e5b Fix I/O events cross different states 2024-09-13 22:09:46 +08:00
f831f5685f Fix I/O events for UNIX connected sockets 2024-09-13 22:09:46 +08:00
21a1041d27 Clean up files generated by UNIX regression tests 2024-08-28 19:54:36 +08:00
65aa156e92 Implement UNIX abstract address namespace 2024-08-28 19:54:36 +08:00
7b58d97aa2 Add regression test for SO_REUSEADDR 2024-08-28 14:01:18 +08:00
86f09eef75 Fix all spelling mistakes in history by typos tool 2024-08-27 12:19:48 +08:00
47857fc10f Fix remote addresses in connected UNIX sockets 2024-08-18 23:57:56 +08:00
a3d4748d6b Fix behavior in UNIX socket listen() 2024-08-18 23:57:56 +08:00
f499f54cf5 Record the original bound name 2024-08-13 19:32:22 +08:00
6b50d28ba1 Remove unnecessary self-connecting check 2024-08-13 19:32:22 +08:00
5445a26ec5 Fix results of getting UNIX names 2024-08-13 19:32:22 +08:00
4deba9baca Rewrite the whole net/addr.rs file 2024-08-05 10:24:56 +08:00
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
328ce9e92c Properly close sockets 2024-07-29 16:56:29 +08:00
f675552c5a Rename regression to test 2024-06-28 20:33:21 +08:00