summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorRichard Mudgett <rmudgett@digium.com>2017-04-06 17:31:14 -0500
committerRichard Mudgett <rmudgett@digium.com>2017-04-11 13:03:57 -0500
commitf8219a2e12579b0cf0119756dec699f5a8c5640a (patch)
tree9eeb9ceef466459c463cd13acf87698c2372a4bd /funcs
parent19b82a864415f57c72fa939f0909622761d3b358 (diff)
stun.c: Fix ast_stun_request() erratic timeout.
If ast_stun_request() receives packets other than a STUN response then we could conceivably never exit if we continue to receive packets with less than three seconds between them. * Fix poll timeout to keep track of the time when we sent the STUN request. We will now send a STUN request every three seconds regardless of how many other packets we receive while waiting for a response until we have completed three STUN request transmission cycles. Change-Id: Ib606cb08585e06eb50877f67b8d3bd385a85c266
Diffstat (limited to 'funcs')
0 files changed, 0 insertions, 0 deletions