This patch completely broke the PING-PONG logic: now ngIRCd never
disconnects any stale peers but keeps sending out PINGs over and over
again ...
The real issue (server disconnects right after connect) will be fixed in
the next commit, but let's revert to the somewhat "half-broken but
'known' state" first ...
This reverts commit
79a917f954bef8089967786bd3597a6e5ff5c336.
Conn_UpdatePing(CONN_ID Idx)
{
assert(Idx > NONE);
- My_Connections[Idx].lastping = My_Connections[Idx].lastdata = time(NULL);
+ My_Connections[Idx].lastping = time(NULL);
}
/*