conncheck: consider answer received when remote credentials are set
authorMiguel París Díaz <mparisdiaz@gmail.com>
Sat, 1 Apr 2017 00:20:38 +0000 (20:20 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 4 Apr 2017 16:14:45 +0000 (12:14 -0400)
commit59ce41dfb837adf4222b25490cde2e394384ad15
tree8519cd231298257ba8226db61056c44b67668946
parenta4bacb2fe2ff06ccb1a2d7f7c0b62bd41674565b
conncheck: consider answer received when remote credentials are set

Consider that the answer is received when remote credentials
are set instead of when a remote candidate is set,
which could not happen or could cause more delay for the
connection establishment.

Ported to git master by Olivier Crête

Differential Revision: https://phabricator.freedesktop.org/D1704
agent/agent.c
agent/conncheck.c
agent/conncheck.h