les: implement light server pool

This commit is contained in:
Zsolt Felfoldi
2016-11-17 15:54:24 +01:00
parent 0fe35b907a
commit 3e617f3cd6
5 changed files with 947 additions and 45 deletions

View File

@ -57,6 +57,8 @@ type peer struct {
announceChn chan announceData
poolEntry *poolEntry
fcClient *flowcontrol.ClientNode // nil if the peer is server only
fcServer *flowcontrol.ServerNode // nil if the peer is client only
fcServerParams *flowcontrol.ServerParams