summaryrefslogtreecommitdiff
path: root/agent/conncheck.c
diff options
context:
space:
mode:
authorMike Ruprecht <cmaiku@gmail.com>2016-01-18 12:42:46 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2016-01-18 12:46:01 +0000
commit41ab61def82aa275649afd5f4a3fcb43e75fb360 (patch)
treeabdc41511c79c3959a9687f34fcbed23d67129e4 /agent/conncheck.c
parent9638bc132f909177f6ecfb86cdd17af557a35c56 (diff)
downloadlibnice-41ab61def82aa275649afd5f4a3fcb43e75fb360.tar.gz
agent: Fix not setting UPnP timeout on second gather_candidates()
If the first call to nice_agent_gather_candidates() partially succeeds (setting a UPnP agent and timeout), then fails before starting gathering, a second call to nice_agent_gather_candidates() would fail to set a new UPnP timeout because the UPnP initialisation block would be skipped. That means gathering would never succeed due to timing out on UPnP. Fix that by setting the UPnP timeout whenever a new pending UPnP mapping is added. https://phabricator.freedesktop.org/T3534 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Diffstat (limited to 'agent/conncheck.c')
0 files changed, 0 insertions, 0 deletions