mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
restored accounting for LAN transfer rates. See also trac ticket #60
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
82f33acf6f
commit
26db7ada52
@ -1553,11 +1553,6 @@ int pqissl::isactive()
|
|||||||
return active;
|
return active;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool pqissl::bandwidthLimited()
|
|
||||||
{
|
|
||||||
return (!sameLAN);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool pqissl::moretoread()
|
bool pqissl::moretoread()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
@ -120,7 +120,7 @@ virtual bool cansend();
|
|||||||
|
|
||||||
virtual int close(); /* BinInterface version of reset() */
|
virtual int close(); /* BinInterface version of reset() */
|
||||||
virtual std::string gethash(); /* not used here */
|
virtual std::string gethash(); /* not used here */
|
||||||
virtual bool bandwidthLimited();
|
virtual bool bandwidthLimited() { return true ; } // replace by !sameLAN to avoid bandwidth limiting on lAN
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// A little bit of information to describe
|
// A little bit of information to describe
|
||||||
|
Loading…
Reference in New Issue
Block a user