Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
reset lostrq when (re)connecting
  • Loading branch information
Fabian Mauchle committed May 1, 2018
1 parent 9fe5485 commit fe262d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tls.c
Expand Up @@ -172,6 +172,7 @@ int tlsconnect(struct server *server, struct timeval *when, int timeout, char *t
debug(DBG_WARN, "tlsconnect: TLS connection to %s up", server->conf->name);
server->state = RSP_SERVER_STATE_CONNECTED;
gettimeofday(&server->lastconnecttry, NULL);
server->lostrqs = 0;
pthread_mutex_unlock(&server->lock);
return 1;
}
Expand Down

0 comments on commit fe262d0

Please sign in to comment.