tpws: special warning on unsolicited message in S_WAIT_RESOLVE state

This commit is contained in:
bol-van 2024-04-02 18:50:50 +03:00
parent 22eeb90e57
commit 5805b04bba

View File

@ -914,6 +914,9 @@ static bool handle_proxy_mode(tproxy_conn_t *conn, struct tailhead *conn_list)
return proxy_mode_connect_remote((struct sockaddr *)&ss,conn,conn_list); return proxy_mode_connect_remote((struct sockaddr *)&ss,conn,conn_list);
} }
break; break;
case S_WAIT_RESOLVE:
DBGPRINT("socks received message while in S_WAIT_RESOLVE. hanging up")
break;
case S_WAIT_CONNECTION: case S_WAIT_CONNECTION:
DBGPRINT("socks received message while in S_WAIT_CONNECTION. hanging up") DBGPRINT("socks received message while in S_WAIT_CONNECTION. hanging up")
break; break;