]> Cypherpunks.ru repositories - govpn.git/commitdiff
Fixed rehandshake-related code
authorSergey Matveev <stargrave@stargrave.org>
Thu, 17 Sep 2015 17:49:37 +0000 (20:49 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 17 Sep 2015 17:49:37 +0000 (20:49 +0300)
* Do not use buffered termination channels: we need guarantee that
  processor is stopped. Otherwise we can be locked and client will be
  timeouted
* Single peersLock call, no separate read and write related
* Create processing goroutine earlier

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>

No differences found