Skip to content

Commit

Permalink
CFE-2447: Fix connection cache, reuse connections when possible.
Browse files Browse the repository at this point in the history
Changelog: Title
  • Loading branch information
Eystein Måløy Stenberg authored and jimis committed Aug 19, 2016
1 parent a313a64 commit 7ba5154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcfnet/conn_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ AgentConnection *ConnCache_FindIdleMarkBusy(const char *server,


if (strcmp(server, svp->conn->this_server) == 0 &&
ConnectionFlagsEqual(&flags, &svp->conn->flags) == 0 &&
ConnectionFlagsEqual(&flags, &svp->conn->flags) &&
(port == svp->conn->this_port
||
(port != NULL && svp->conn->this_port != NULL &&
Expand Down

0 comments on commit 7ba5154

Please sign in to comment.