summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c2
1 files changed, 2 insertions, 0 deletions
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) {