virajrai-oai
34420d4264
Preserve disconnect reasons in Noise handshake errors ( #54637 )
...
## Why
Noise handshake failures before connection readiness returned a generic error even when the transport had reported a specific disconnect reason. No `RpcClient` was reading the connection event channel at that point.
## What changed
Read the pending disconnect event when a Noise rendezvous handshake fails and append its reason to the handshake error when available.
## Testing
Add a regression test covering unexpected text frames and relay stream resets, checking that each produces the expected transport reason in the handshake error.
GitOrigin-RevId: 9b8ef9c8dcba75b46d51dc67784af46d4ca74b85
2026-10-16 15:43:21 +00:00
..
2026-10-12 13:39:54 +00:00
2026-10-14 07:13:22 +00:00
2026-10-09 13:15:39 +00:00
2026-10-15 21:30:56 +00:00
2026-10-16 14:38:19 +00:00
2026-10-15 21:35:40 +00:00
2026-10-15 20:00:15 +00:00
2026-10-15 21:30:56 +00:00
2026-10-08 20:11:43 +00:00
2026-10-15 21:35:40 +00:00
2026-10-12 11:24:22 +00:00
2026-10-12 15:43:27 +00:00
2026-10-15 19:51:22 +00:00
2026-10-09 21:29:36 +00:00
2026-10-07 22:11:14 +00:00
2026-10-15 22:32:24 +00:00
2026-10-10 08:51:21 +00:00
2026-10-10 08:51:21 +00:00
2026-10-08 19:15:17 +00:00
2026-10-16 06:06:54 +00:00
2026-10-15 10:46:59 +00:00
2026-10-15 03:07:27 +00:00
2026-10-16 14:38:19 +00:00
2026-10-15 15:12:58 +00:00
2026-10-16 14:38:19 +00:00
2026-10-06 23:28:55 +00:00
2026-10-15 21:44:12 +00:00
2026-10-08 20:11:43 +00:00
2026-10-15 03:48:33 +00:00
2026-10-16 15:43:21 +00:00
2026-10-15 22:25:58 +00:00
2026-10-16 12:35:55 +00:00
2026-10-13 16:15:41 +00:00
2026-10-15 03:48:33 +00:00
2026-10-07 11:18:05 +00:00
2026-10-16 04:42:32 +00:00
2026-10-13 17:22:34 +00:00
2026-10-14 16:48:00 +00:00
2026-10-15 15:12:58 +00:00
2026-10-10 01:25:00 +00:00
2026-10-16 14:38:19 +00:00
2026-10-14 17:56:24 +00:00
2026-10-08 16:19:09 +00:00
2026-10-15 23:58:30 +00:00
2026-10-14 19:07:44 +00:00
2026-10-14 16:53:24 +00:00
2026-10-15 21:29:41 +00:00
2026-10-07 18:32:50 +00:00
2026-10-06 01:46:33 +00:00
2026-10-15 17:36:47 +00:00
2026-10-15 22:25:58 +00:00
2026-10-14 23:55:50 +00:00
2026-10-06 21:29:35 +00:00
2026-10-15 15:12:58 +00:00
2026-10-15 21:30:56 +00:00
2026-10-10 02:54:59 +00:00
2026-10-12 18:53:49 +00:00
2026-10-07 22:11:14 +00:00
2026-10-14 20:53:59 +00:00
2026-10-15 21:30:56 +00:00
2026-10-07 07:57:14 +00:00
2026-10-15 09:49:32 +00:00
2026-10-15 22:25:58 +00:00
2026-10-13 22:07:59 +00:00
2026-10-15 21:07:40 +00:00
2026-10-12 17:52:12 +00:00
2026-10-15 19:01:43 +00:00
2026-10-15 21:30:56 +00:00
2026-10-15 19:51:22 +00:00
2026-10-15 22:31:50 +00:00
2026-10-13 22:40:57 +00:00
2026-10-14 02:01:49 +00:00
2026-10-16 06:06:54 +00:00
2026-10-08 01:12:16 +00:00
2026-10-12 16:58:24 +00:00
2026-10-07 22:11:14 +00:00
2026-10-16 14:38:19 +00:00
2026-10-16 06:06:54 +00:00
2026-10-12 13:39:54 +00:00