libnmdc: clear fullbuffer prior to connection attempt
This commit is contained in:
parent
d391159abe
commit
4499c7306d
@ -333,6 +333,8 @@ func (this *HubConnection) worker() {
|
|||||||
// If we're not connected, attempt reconnect
|
// If we're not connected, attempt reconnect
|
||||||
if this.conn == nil {
|
if this.conn == nil {
|
||||||
|
|
||||||
|
fullBuffer = "" // clear
|
||||||
|
|
||||||
if this.Hco.Address.IsSecure() {
|
if this.Hco.Address.IsSecure() {
|
||||||
this.conn, err = tls.Dial("tcp", this.Hco.Address.GetHostOnly(), &tls.Config{
|
this.conn, err = tls.Dial("tcp", this.Hco.Address.GetHostOnly(), &tls.Config{
|
||||||
InsecureSkipVerify: this.Hco.SkipVerifyTLS,
|
InsecureSkipVerify: this.Hco.SkipVerifyTLS,
|
||||||
|
Loading…
Reference in New Issue
Block a user