]> git.pond.sub.org Git - empserver/commit
(player_main): Add empth_yield() in the command processing loop to ensure
authorRon Koenderink <rkoenderink@yahoo.ca>
Sat, 23 Jul 2005 13:37:36 +0000 (13:37 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Sat, 23 Jul 2005 13:37:36 +0000 (13:37 +0000)
commitdb6fd8dad261f04fbd991b1d4d8456277b3d7158
tree3fa964413996229a5278acc00df3b1ceae76e552
parente332ff5fcc30e8f85a0c63a1617ffbf97d1e5d0d
(player_main): Add empth_yield() in the command processing loop to ensure
after every command, other players gets a chance to execute a command.
This prevents denial of service attack that monopolizing the active server
thread by continuing feeding data to the server from a client.
src/lib/player/player.c