DEBUG_INFO(DEBUG_CATEGORY_SOCKET,"PROXY FIN stream=%016llx tun=1 active=%d",(unsignedlonglong)(pc->remote_stream_id?pc->remote_stream_id:0),pc->active);
DEBUG_INFO(DEBUG_CATEGORY_SOCKET,"PROXY FIN stream=%016llx tun=1 active=%d",(unsignedlonglong)(pc->remote_stream_id?pc->remote_stream_id:0),pc->active);
pc->closing_tun=1;
pc->closing_tun=1;
if(pc->closing_rem){
DEBUG_INFO(DEBUG_CATEGORY_SOCKET,"PROXY CLOSE stream=%016llx tun=1 rem=1 (recv)",(unsignedlonglong)pc->remote_stream_id);