Michael Jerris
cfd8d28bc8
silence clang unused function warnings and get rid of some unused functions
2014-05-01 09:03:19 -04:00
Michael Jerris
2513388d8a
clean up some bootstrap warnings
2014-03-07 18:36:26 -05:00
Anthony Minessale
63e2044a7e
modify sofia debug code to print file, line numbers and function name
2012-10-26 14:15:14 -05:00
Travis Cross
e6629ab5f6
Add missing return statement
...
sres_cached_answers_sockaddr is supposed to return ENOENT if no cached
records are found. Because of the missing return statement, however,
it would never do this and would instead return something very likely
to be garbage.
2012-06-25 06:38:30 +00:00
Travis Cross
76a26648d4
Remove a tautological conditional
...
SU_LOG->log_level is declared as unsigned, hence it will always
be >= 0.
2012-06-25 06:38:29 +00:00
Marc Olivier Chouinard
bc19d28310
Fix regression to dns resolve in sofia. It will make sofia and compiler happy
2011-04-25 15:53:54 -04:00
Marc Olivier Chouinard
626a99f994
sofia-lib: More Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia)
2011-04-23 20:33:19 -04:00
Michael Jerris
9b14bd5dbd
fix file modes in sofia
2010-10-03 05:53:07 -04:00
Jeff Lenk
45ecbc2f61
fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side
2010-09-29 15:47:58 -05:00
Michael Jerris
511132ac1e
fix sofia build when -std=c99
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-01 22:42:18 +00:00
Michael Jerris
780bce83a4
Mon Jun 29 07:52:27 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian winscw build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:54:04 +00:00
Michael Jerris
340bdda571
Fri Jun 26 01:50:56 CDT 2009 kai.k.samposalo@nokia.com
...
* Symbian build fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:51:27 +00:00
Michael Jerris
9036ed0809
Tue Jun 23 09:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sres.c: use original query with callback when doing CNAME recurse
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13922 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:49:03 +00:00
Michael Jerris
7b8332d2d4
Tue Jun 23 08:41:35 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* sresolv/sres.c: a comment to clarify code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:48:28 +00:00
Michael Jerris
1467688ed2
Tue Jun 23 08:38:48 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* sresolv/sres.c: Refactored the query ID generation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:47:59 +00:00
Michael Jerris
848e8f726c
Tue Jun 23 08:18:24 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* sresolv/sres.c: implemented automatic CNAME resolution
Ignore-this: 1483f6b65deb976e372921ef7ff1b0a0
Fixes sf.net bug #2531152
Behavioral change: intermediate CNAME results are not retrieved to the client.
The only cases where CNAME results are retrieved are queries for
sres_type_cname and sres_qtype_any, meaning no CNAME resolution is performed.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:47:23 +00:00
Michael Jerris
9f80035304
Tue Jun 23 06:56:48 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* Fixed an s2 state breakage when running tests unforked
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13918 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:46:28 +00:00
Michael Jerris
10d1f60ca1
Mon Jun 22 10:10:16 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
...
* sresolv/sres.c: Untangle error record injection in case of a non-matching response
Ignore-this: 5df64ab26151ac8e9da396aca83120cd
errorcount == 0 in this branch anyway, no need to be obscure about it.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:45:42 +00:00
Michael Jerris
40ce9aeac4
Tue Jun 23 10:01:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* check_sres_sip: fixed records used in check_cname
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13916 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:44:54 +00:00
Michael Jerris
acd67cb318
libsofia: handle mid-line comments in resolv.conf patch from Lee Verberne (SFSIP-152)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 15:24:34 +00:00
Michael Jerris
85317633dc
build: fix gcc-4.4.0 build failures (FSCORE-355)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:25:59 +00:00
Michael Jerris
d15df2001d
Wed May 13 13:33:21 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sres.c: use unsigned lenghts with m_get_string() and m_get_domain()
Ignore-this: 7b09dd7d26a10dabb645156563c0cd6c
Coverity issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:17:09 +00:00
Michael Jerris
6774ad7083
Wed May 13 13:08:11 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_resolver_new_with_cache_va(): added missing va_end()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:33 +00:00
Michael Jerris
bfb14992f1
Wed Mar 11 11:51:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_sip.c: silence VC warnings
Ignore-this: dd9d4b774716430cdf429ed86664b109
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:45:45 +00:00
Michael Jerris
22dae2b9fa
Thu Mar 5 13:21:25 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_sres_sip.c: use S2_CASE()
Ignore-this: da194ea35fa98a73f3da3b4b5257aa8f
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:01 +00:00
Michael Jerris
12c4ce0e17
resync file to darcs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:47:54 +00:00
Michael Jerris
209da8b0fd
Thu Feb 26 09:47:46 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_sres_sip.c: more test cases for naptr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:41:11 +00:00
Michael Jerris
ae27bdd5f2
Thu Feb 26 09:39:43 CST 2009 Michael Jerris <mike@jerris.com>
...
* sres_sip.c: fix warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:40:20 +00:00
Brian West
20805de446
Thu Feb 26 09:12:40 CST 2009 Michael Jerris <mike@jerris.com>
...
* sresolv/Makefile.am: don't override CFLAGS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:25:27 +00:00
Michael Jerris
e7bfa12bc4
Wed Feb 25 13:11:19 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_sres_sip.c: added test cases for bad DNS server, timeout
Ignore-this: f14a52817f3612c0b8b776761a12ef3e
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:40:22 +00:00
Michael Jerris
733062be3a
Wed Feb 25 13:10:24 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_sip.c: be more robust if the DNS fails badly
Ignore-this: 1922836529de164a842ab88e848066a0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:39:24 +00:00
Michael Jerris
d5b2e2d2ab
Wed Feb 25 13:09:35 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres.c: improved error handling
Ignore-this: a64e098f8575511bb6e5ef3129635d98
Returning records with SRES_NETWORK_ERR or SRES_TIMEOUT_ERR.
Also setting errno if there is no available DNS servers.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:38:05 +00:00
Michael Jerris
b4f6039607
don't override CFLAGS
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12024 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-15 03:29:09 +00:00
Mathieu Rene
60671872ef
Fix sofia build on non-ipv6 hosts
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 23:18:53 +00:00
Michael Jerris
cf078237ea
uninitialized variable fix
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 20:31:21 +00:00
Michael Jerris
ed23436a8e
add missing files
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:58:06 +00:00
Michael Jerris
f10955584c
Thu Feb 12 14:24:41 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres: sres_record_type() now checks pointer argument
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:17:44 +00:00
Michael Jerris
85315adc1b
Thu Feb 12 14:21:21 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sresolv: added asynchrous sip resolver
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:16:37 +00:00
Michael Jerris
93e3ef0f64
Thu Feb 12 14:20:26 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres.c: improve logging upon errors
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11950 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:15:20 +00:00
Michael Jerris
816f984722
Tue Feb 10 19:39:02 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sres_cache: added sres_cache_copy_answers()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:14:45 +00:00
Michael Jerris
394cc90bfe
Fri Feb 6 07:48:45 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* run_test_sresolv: check for apparmor, too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:37:39 +00:00
Michael Jerris
b7bc5240f0
Fri Jan 23 11:13:41 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sresolv: caching SRES_RECORD_ERR in case a CNAME is returned, too
Tracing the CNAMEs when doing cache lookups.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11844 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:12:33 +00:00
Michael Jerris
d8f68d7a56
Thu Jan 8 15:12:28 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sresolv: using <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:51:44 +00:00
Michael Jerris
c536aac576
Mon Dec 15 10:57:06 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* sresolv: made sres_record_class static
Should never been global.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 15:58:09 +00:00
Michael Jerris
76b8884bb7
Mon Dec 15 10:50:21 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* sofia-resolv/sres_cache.h: added prototype for sres_cache_clean()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 15:56:43 +00:00
Michael Jerris
d8c4d22d40
merge whitespace fixes from sofia-sip tree
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 18:05:22 +00:00
Michael Jerris
9eda658a77
Thu Jun 5 10:23:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* Using su_inet_ntop and su_inet_pton
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 04:36:13 +00:00
Michael Jerris
bdd90b2b47
Tue May 20 12:15:42 EDT 2008 Pekka.Pessi@nokia.com
...
* sres_blocking.c: fixed klocwork issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:08:38 +00:00
Michael Jerris
8826832fa6
Tue May 20 12:15:30 EDT 2008 Pekka.Pessi@nokia.com
...
* sres.c: fixed klocwork issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:07:50 +00:00
Michael Jerris
c5e0072ce1
Tue May 13 16:45:09 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* sres.c: allow dns redirection with _sres_default_port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:20:11 +00:00