koding / tunnel

Tunnel proxy package in Go
BSD 3-Clause "New" or "Revised" License
314 stars 70 forks source link

[client] Client cannot be closed when reconnecting bugfix #24

Closed mmatczuk closed 8 years ago

mmatczuk commented 8 years ago

To reproduce the bug:

  1. start client with
    • not existing server address
    • exponential back off strategy (infinite or just long enough)
  2. stop client
  3. client state is ClientConnecting, and client still tries to reconnect even though it was closed
rjeczalik commented 8 years ago

@mmatczuk Thanks!