Added code to ensure that, even if there is a constant stream of SMB
authorJeremy Allison <jra@samba.org>
Tue, 16 Feb 1999 21:24:24 +0000 (21:24 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 16 Feb 1999 21:24:24 +0000 (21:24 +0000)
commit39e0b324e367306908bcfc57e1a9b6679d8f5ed3
tree863388fa63b1424226e6784272f7d6f43ca56faa
parentef02fca25c474f767169cad187460ad1bd1b8da3
Added code to ensure that, even if there is a constant stream of SMB
requests with no echos or pauses, that timeout processing is still
done at SELECT_TIMOUT intervals.

This is done by updating a counter of the number of SMB's processed,
and checking if the time has come for timeout processing every 200
SMB requests.

This should fix the 'smbd is not responding to a HUP signal' that
someone submitted a (rather complex) patch for.
Jeremy.
source/smbd/process.c