Alexej Szpevák
b40e0bfb80
fix(libkernel): report the accept queue length for a listening socket's read event
...
A read event on a listening socket took its data from FIONREAD, which a listening socket refuses on Linux, so kevent and sceKernelAddReadEvent reported 0 connections while saying one was ready. FreeBSD 11.4 gives a listening socket filt_solisten, which reports so_qlen, the completed connections waiting for accept. Ready now checks SO_ACCEPTCONN and on Linux reads a TCP listener's accept backlog from TCP_INFO, where tcp_get_info puts it in tcpi_unacked; with no host call for the count (Windows, macOS, a listener that is not TCP) it reports 1, the lower bound the readiness already implies.
2026-10-18 13:35:15 +02:00
..
2026-10-18 16:22:12 +13:00
2026-10-18 12:53:48 +04:00
2026-10-18 13:35:15 +02:00
2026-10-16 16:59:51 +00:00
2026-10-19 00:13:37 +13:00
2026-10-17 06:10:21 +02:00
2026-10-17 19:23:26 -03:00
2026-10-14 18:44:42 +00:00
2026-10-16 21:41:16 +02:00
2026-10-18 02:06:50 +13:00
2026-10-14 14:38:36 +01:00
2026-10-14 16:10:41 +02:00
2026-10-17 14:20:14 +02:00
2026-10-16 20:24:35 +02:00
2026-10-14 20:47:25 +02:00
2026-10-14 18:44:41 +00:00
2026-10-14 22:11:08 +05:30
2026-10-18 13:20:55 +13:00
2026-10-14 11:49:12 +02:00
2026-10-17 18:46:12 +02:00
2026-10-15 15:45:56 +02:00
2026-10-18 02:14:02 +02:00
2026-10-18 09:50:39 +05:30
2026-10-18 15:52:20 +13:00
2026-10-15 18:43:15 +02:00
2026-10-16 22:10:10 +02:00
2026-10-18 00:39:01 +05:30
2026-10-17 11:29:25 +02:00
2026-10-18 00:06:43 +05:30
2026-10-18 10:07:14 +13:00
2026-10-15 07:39:34 +13:00
2026-10-16 23:40:45 +02:00
2026-10-14 22:48:13 +02:00
2026-10-17 18:14:12 +05:30
2026-10-17 23:30:58 +00:00
2026-10-17 23:29:24 +00:00
2026-10-14 22:11:11 +05:30
2026-10-14 20:22:47 +09:00
2026-10-15 00:06:48 +03:00
2026-10-18 13:20:55 +13:00
2026-10-18 10:01:34 +05:30
2026-10-15 11:48:51 +05:30
2026-10-18 03:54:32 +05:30
2026-10-16 20:41:44 +02:00
2026-10-17 13:06:46 +13:00
2026-10-17 18:14:12 +05:30
2026-10-18 10:19:36 +13:00
2026-10-17 23:56:59 +05:30
2026-10-18 17:20:58 +13:00
2026-10-17 06:55:51 +02:00
2026-10-18 00:01:22 +05:30
2026-10-17 10:50:36 +00:00
2026-10-16 20:51:06 +02:00
2026-10-17 08:43:48 +05:30
2026-10-16 23:38:37 +02:00
2026-10-18 02:42:34 +07:00
2026-10-17 17:14:24 +05:30
2026-10-17 23:26:26 +05:30
2026-10-18 00:31:35 +05:30
2026-10-16 20:47:40 +02:00
2026-10-18 12:56:40 +13:00
2026-10-18 13:08:53 +04:00