|
|
@ -119,7 +119,7 @@ event_route[websocket:closed] { |
|
|
$var(shtdec) = $shtdec(websockets=>$si::count); |
|
|
$var(shtdec) = $shtdec(websockets=>$si::count); |
|
|
if ($sht(websockets=>$si::count) < 1) { |
|
|
if ($sht(websockets=>$si::count) < 1) { |
|
|
xlog("L_INFO", "websocket|log|$si:$sp closed last websocket to that IP\n"); |
|
|
xlog("L_INFO", "websocket|log|$si:$sp closed last websocket to that IP\n"); |
|
|
sht_rm_name_re(websockets=>$(si{re.subst,/\\./\\\\./g})::.*); |
|
|
|
|
|
|
|
|
sht_rm_name_re("websockets=>$(si{re.subst,/\\./\\\\./g})::.*"); |
|
|
} else { |
|
|
} else { |
|
|
xlog("L_INFO", "websocket|log|closed websocket from $si:$sp, $var(count) remaining from that IP\n"); |
|
|
xlog("L_INFO", "websocket|log|closed websocket from $si:$sp, $var(count) remaining from that IP\n"); |
|
|
} |
|
|
} |
|
|
|