Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: connection problem (PR#358)
Home

[Freeciv-Dev] Re: connection problem (PR#358)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Reinier Post <rp@xxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: connection problem (PR#358)
From: Paul Zastoupil <paulz@xxxxxxxx>
Date: Thu, 04 May 2000 11:13:36 -0700

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



[Prev in Thread] Current Thread [Next in Thread]