[Freeciv-Dev] Re: connection problem (PR#358)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Reinier Post wrote:
<snip>
> Make the maximum buffer size a server setting?
>
> /set autocutsize 32K
>
> Or as an extra, support a timeout in seconds.
>
> /set autocutsecs 10
>
> means 'feel free to cut a player's connection if it doesn't respond
> within 10 seconds'. For each client, store the current time upon
> reading a packet and compare it to the current time upon writing one.
> This would protect the server against clients that are unused or that
> lose connection in an unclean way.
<snip>
> Yes! Using a server variables would make servers less or more generous
> towards players with slow connections. This can be very useful.
This should of course be cmdlevel hack.
--
Paul Zastoupil
|
|