proxy_service.dart: _handleConnect gates on hasAnyActiveSession() (407 if no active session), then connects directly to the upstream external target (host:port from Host header), detaches the socket, and pipes bytes bidirectionally. k_server is not involved in CONNECT tunnels. filter_proxy_test.dart: replace _mockTcp() with _mockComp2Tcp() in the CONNECT routing group so the mock speaks the full CONNECT handshake (reads request headers, sends 200 Connection Established, pauses sub). All 21 tests pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| enrollment_test.dart | ||
| fido2_test.dart | ||
| filter_proxy_test.dart | ||
| widget_test.dart | ||