From 0e4373a6329a1f74dda8eceed5fd18ce92fe0d10 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 26 Jan 2011 12:20:38 +0100 Subject: tcpflood: time display was invalid due to wrong format there was a systematic error in that decimals were 1/10th to small. No problem if you knew that, but otherwise a biggie... This is a bug in a recently introduced non-released feature. --- tcpsrv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tcpsrv.c') diff --git a/tcpsrv.c b/tcpsrv.c index 3a2cf81d..1ebfd91e 100644 --- a/tcpsrv.c +++ b/tcpsrv.c @@ -690,6 +690,8 @@ Run(tcpsrv_t *pThis) dbgprintf("poll returned with %d entries.\n", numEntries); for(i = 0 ; i < numEntries ; i++) { + if(glbl.GetGlobalInputTermState() == 1) + ABORT_FINALIZE(RS_RET_FORCE_TERM); currIdx = retIDs[i]; dbgprintf("tcpsrv processing i %d, pUsr %p\n", currIdx, pUsr[i]); if(pUsr[i] == pThis->ppLstn) { -- cgit v1.2.3