summaryrefslogtreecommitdiff
path: root/main/netsock2.c
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2010-10-14 21:29:04 +0000
committerDavid Vossel <dvossel@digium.com>2010-10-14 21:29:04 +0000
commit58ea3034cea73400ee0bdf41062e5a55913c8d02 (patch)
tree79eec39873db9f697f776a994314830e7b153f0c /main/netsock2.c
parente0ac582b5ea605e08ac2d16b6602f7724958e0fe (diff)
Merged revisions 291827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r291827 | dvossel | 2010-10-14 16:27:42 -0500 (Thu, 14 Oct 2010) | 18 lines Safer xml parsing, treat all clients the same, and better local candidate selection. The gtalk channel driver was doing several unsafe operations in regards to how it parsed incoming XML messages. I have cleaned that code up so it should be much safer now. We now treat all clients types the same. We have no reason to distinguish between GMAIL and GOOGLE VOICE clients anymore because they all work the same way. I also modified how the local ip is found. If no bindaddress is provided in the config file, we attempt to determine the local ip we would use to connect to google.com. If that fails, then we fall back to the ast_find_ourip() function as a last resort. Using the new method makes it much less likely that we would ever advertise a local RTP candidate as a loopback address. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@291828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/netsock2.c')
0 files changed, 0 insertions, 0 deletions