New patches: [dafesafe free mike@jerris.com**20080227213635] { hunk ./libsofia-sip-ua/su/su_alloc.c 973 - +#define safe_free(it) if (it) { free(it); it = NULL; } merger 0.0 ( hunk ./libsofia-sip-ua/su/su_alloc.c 1009 - free(b->sub_nodes[i].sua_data); + safefree(b->sub_nodes[i].sua_data); hunk ./libsofia-sip-ua/su/su_alloc.c 1009 - free(b->sub_nodes[i].sua_data); + safe_free(b->sub_nodes[i].sua_data); + ) hunk ./libsofia-sip-ua/su/su_alloc.c 1014 - free(b->sub_preload); + safe_free(b->sub_preload); hunk ./libsofia-sip-ua/su/su_alloc.c 1016 - free(b->sub_stats); + safe_free(b->sub_stats); hunk ./libsofia-sip-ua/su/su_alloc.c 1018 - free(b); + safe_free(b); } [sfafefree mike@jerris.com**20080307175115] { hunk ./libsofia-sip-ua/su/su_alloc.c 1009 - free(b->sub_nodes[i].sua_data); + + safefree(b->sub_nodes[i].sua_data); } [msvc build fix mike@jerris.com**20080525212315] { hunk ./libsofia-sip-ua/nta/nta.c 173 +#ifndef UINT32_MAX +#define UINT32_MAX (0xffffffffU) +#endif + } [NTATAG_SERVER_RPORT(2) to act like there is always rport in via mike@jerris.com**20080525212346] { hunk ./libsofia-sip-ua/nta/nta.c 990 - int server_rport = agent->sa_server_rport; + unsigned server_rport = agent->sa_server_rport; hunk ./libsofia-sip-ua/nta/nta.c 2582 + else if (agent->sa_server_rport == 2) { + rport = su_sprintf(msg_home(msg), "rport=%u", ntohs(from->su_port)); + msg_header_replace_param(msg_home(msg), v->v_common, rport); + } hunk ./libsofia-sip-ua/nta/nta_internal.h 229 - unsigned sa_server_rport:1; + unsigned sa_server_rport:2; hunk ./libsofia-sip-ua/nta/nta_tag.c 1337 -tag_typedef_t ntatag_server_rport = BOOLTAG_TYPEDEF(server_rport); +tag_typedef_t ntatag_server_rport = UINTTAG_TYPEDEF(server_rport); } [build fix mike@jerris.com**20080525212454] { hunk ./libsofia-sip-ua/su/su_wait.c 188 - su_wait_t w0 = NULL; hunk ./libsofia-sip-ua/su/su_wait.c 192 + su_wait_t w0 = NULL; } Context: [tests/Makefile.am: do not fix testsdir Pekka.Pessi@nokia.com**20080523115325 Build check_sofia only with make check. ] [nua_register.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522145740] [nua_session.c: handling answer better by nua_prack_server_init() Pekka.Pessi@nokia.com**20080522144532 Fixed klocwork issue, too. ] [auth_client.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522143843] [auth_module.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522143836] [msg_parser.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522143806] [msg_parser_util.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522143727] [nea_server.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522143630] [nta.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522133919] [http_tag_class.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522113411] [outbound.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522104811] [nua_stack.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080522104707] [nta.c: fixed klocwork issue in nta_outgoing_prack() Pekka.Pessi@nokia.com**20080522104618] [tport_logging.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520174657] [tport.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520174646] [su_md5.c: fixed typo in comment Pekka.Pessi@nokia.com**20080520173305] [su_wait.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520173251] [su_vector.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520173237] [su_taglist.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520173228] [su_port.c, su_base_port.c, su_pthread_port.c: fixed klocworks issues. Pekka.Pessi@nokia.com**20080520173050] [su_alloc.c: fixed klocworks issues Pekka.Pessi@nokia.com**20080520172844] [sres_blocking.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520161542] [sres.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520161530] [soa_static.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520133546] [soa.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520133537] [torture_sip.c: added test for Content-Type Pekka.Pessi@nokia.com**20080520133308] [sip_util.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520133250] [sip_tag_class.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520133230] [sip_mime.c: use msg_content_type functions with sip_content_type Pekka.Pessi@nokia.com**20080520133210] [msg_basic.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520133024] [msg_mime.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520133006] [sdp: Fixed klocwork issues. Pekka.Pessi@nokia.com**20080520132934] [nua_session.c: fixed klocwork issues Pekka.Pessi@nokia.com**20080520115151] [nua_publish.c: fixed klocwork issue Pekka.Pessi@nokia.com**20080520114657] [nua_params.c: fixed klocwork issue Pekka.Pessi@nokia.com**20080520114620] [nua_event_server.c: fixed klocwork issue Pekka.Pessi@nokia.com**20080520114610] [nua_dialog.h: added NUA_DIALOG_USAGE_PRIVATE() and NUA_DIALOG_USAGE_PUBLIC() Pekka.Pessi@nokia.com**20080520114546 Macros to use with non-NULL pointers. ] [su_home_check_alloc(): added Pekka Pessi **20080521144252] [check_session.c: added new BYE glare test cases Pekka Pessi **20080521144110] [check_nua.c: fixed output when CHECK_NUA_CASES has been set Pekka Pessi **20080521144042] [RELEASE: updated Pekka Pessi **20080519174241] [libsofia-sip-ua/docs/Makefile.am: fixed Doxyfile.rfc rule Pekka Pessi **20080519173129] [conformance.docs: silenced doxygen warning Pekka Pessi **20080519173107] [nua_tag.c: updated documentation of NUTAG_PROXY(), NUTAG_SUB_EXPIRES(). Pekka Pessi **20080519173014] [nta_tag.c: updated NTATAG_BLACKLIST() documentation Pekka Pessi **20080519172914] [Doxyfile.aliases: added @VERSION_1_12_9 and @NEW_1_12_9 Pekka Pessi **20080519155549] [configure.ac: check for fnmatch.h Pekka Pessi **20080519155528] [open_c/group/test_nua.mmp: updated source path Pekka Pessi **20080519155455] [win32/libsofia-sip-ua: updated libsofia_sip_ua.dsp and libsofia_sip_ua.vcproj Pekka Pessi **20080519155435] [win32/tests/test_nua: updated test_nua.dsp and test_nua.vcproj Pekka Pessi **20080519155403] [tport_type_tcp.c: report EPIPE when transport gets closed after ping-pong timeout Pekka Pessi **20080519155323] [nua_client_request: keep own reference to nua handle Pekka Pessi **20080521144006] [nua_session.c: fix crash if session was terminated while INVITE was in progress Pekka Pessi **20080516142826] [nua_session.c: sanitized BYE handling Pekka Pessi **20080512225838 Terminate or cancel other session-related transactions when session gets terminated. ] [nua_stack.c: include Allow-Events in requests initiating dialog, too Pekka.Pessi@nokia.com**20080519153145 The Allow-Events header is now alwats included with NOTIFY requests, and initial INVITE, SUBSCRIBE, REFER, and OPTIONS requests. Thanks to Jerry Richards for pointing out the problem. ] [nua_register.c: nr->nr_tport was used even if nr was NULL Pekka.Pessi@nokia.com**20080516090609 Problem detected by Klocwork. ] [test_s2.c: cope if test nua uses default port Pekka Pessi **20080516144406] [test_nua_api.c: fixed crash in check_sofia Pekka Pessi **20080516143029] [test_simple.c: fixed test case for SUBSCRIBE Pekka Pessi **20080516142920] [nua_tag.c: updated NUTAG_RETRY_COUNT() documentation Pekka Pessi **20080513204957] [nua_stack.h: removed unused typedef ull Pekka Pessi **20080513204750] [sres.c: allow dns redirection with _sres_default_port Pekka Pessi **20080513204509] [check_register.c: added test case register_1_3_3_1 using tcp pingpong Pekka Pessi **20080513204608] [test_s2.h, test_s2.c: added internal DNS server Pekka Pessi **20080513204521] [check_nua: updated Pekka Pessi **20080512230026] [check_nua: moved to libsofia-sip-ua/nua Pekka Pessi **20080507183706] [test_nua: moved to tests subdirectory Pekka Pessi **20080507183454] [suite2_for_nua.c, s2tester.[hc]: made it easier to refactor test cases Pekka Pessi **20080507174005] [suite2_for_nua.c: more test cases Pekka Pessi **20080507122648] [tests: added 2nd check-based test suite for nua Pekka Pessi **20080506175321] [nta.c: fixed outgoing retry timer Pekka Pessi **20080513194124] [nua: using NUTAG_PROXY() as handle-specific tag Pekka Pessi **20080512225136 Added nua_dialog_update_params() and virtual method usage_update_params() for each dialog usage. ] [msg_header.h: removed c99ism Pekka Pessi **20080512192002] [soa_static.c: cope better if m= lines gets removed from user sdp Pekka.Pessi@nokia.com**20080512183337] [soa_static.c: mark m= line rejected if its user sdp line is removed Pekka.Pessi@nokia.com**20080512174733] [outbound.c: fix sofia-sip.org bug #1930055 Pekka Pessi **20080507195441 If the initial REGISTER was not challenged, the natted contact did not get unregistered. ] [su_log.c: allow multiple calls su_log_soft_set_level() to change logging level Pekka Pessi **20080507145952] [tport_tls.c: avoid free(NULL) Pekka Pessi **20080507145916] [nua: improved logging, fixed macro expansion on __LINE__ on most compilers Pekka Pessi **20080507140817] [nua_stack.c: if nua_register() fails to provide To, use From. Pekka Pessi **20080507140557] [nua_session.c: do not terminate session without soa if SDP O/A seems to fail Pekka Pessi **20080507140414 SDP O/A may be buried inside MIME multipart ] [nta.c: do not replace host:port in user-specified Via header Pekka Pessi **20080507131028 Note that port for UDP is replaced if request is stateful and there is no rport. ] [nta.c: use consistently uint32_t when handling millisecond timers inside nta first.last@nokia.com**20080506210019 The timer handling failed miserably on 64-bit platforms each time uint32_t counter for milliseconds wrapped around. ] [nua_session.c: fix in session activation by Jussi Mutanen first.last@nokia.com**20080424154957] [nua: fixed problems with event fetch first.last@nokia.com**20080424153148 With event fetch the subscription was terminated before the NOTIFY was sent/received or final response to SUBSCRIBE was sent. ] [nta.c: reindented patch by Mike J first.last@nokia.com**20080506210059] [remove assert mike@jerris.com**20080507122233] [nua_handle_by_call_id mike@jerris.com**20080507122145] [nua_notifier.c: fixed crash with event fetch first.last@nokia.com**20080423183007] [torture_sip.c: added test for sip_header_as_string() producing string longer than 128 Pekka.Pessi@nokia.com**20080423175640] [torture_sip.c: added test for sip_header_as_string() producing string longer than 128 Pekka.Pessi@nokia.com*-20080418105545] [torture_sip.c: added test for sip_header_as_string() producing string longer than 128 Pekka.Pessi@nokia.com**20080418105545] [sip_util.c: fixed sip_header_as_string() Jerry Richards **20080418105440] [remove gccisms mike@jerris.com**20080408131855] [nua_session.c: fixed call state reporting from failed INVITE Pekka.Pessi@nokia.com**20080407172055 If INVITE was returned a failure response, and session was being terminated (like BYE was sent while INVITE transaction was on-going), Sofia reported session as already terminated. ] [nua_session.c: if timer is Require'd default to local refresher if Session-Expires has no refresher parameter Pekka.Pessi@nokia.com**20080407170100] [tport_type_udp.c: use IP_MTU_DISCOVER socket option to turn off DF flag Pekka.Pessi@nokia.com**20080404151504 Added check for IP_MTU_DISCOVER in m4/sac-su2.m4 ] [su_addrinfo.c: avoid crash in su_freeaddrinfo() if ai is NULL Pekka.Pessi@nokia.com**20080404151404] [soa_static.c: when generating offer with ordered mode, fill gaps in session Pekka.Pessi@nokia.com**20080403150919 If session has m= lines that user SDP does not, the ordered mode got confused when generating 2nd offer (e.g., for re-INVITE). ] [nua_stack.c: include Allow-Events in most messages initiating dialog Pekka.Pessi@nokia.com**20080401104910 The Allow-Events header is now included with NOTIFY, PUBLISH, REGISTER, and initial INVITE, SUBSCRIBE, REFER, and OPTIONS, and also responses to SUBSCRIBE, REFER, OPTIONS, and PUBLISH as well as responses to initial INVITE and NOTIFY. Thanks to Jerry Richards for pointing out the problem. ] [torture_sip.c: updated tests (quoting semicolon in query/header part) Pekka.Pessi@nokia.com**20080326112016] [sip_tag_class.c: escape semicolons in headers section of Replaces URI Bernhard Suttner**20080326111834] [nta: fixed checks for rfc2543 retransmssions/CANCEL/ACK Pekka.Pessi@nokia.com**20080318201649 Thanks to Michael Jerris for reporting this problem. ] [sres_blocking.c: validating calloc() return value Pekka.Pessi@nokia.com**20080307173152] [su_alloc.c: using safe free Pekka.Pessi@nokia.com**20080307172405] [tests/Makefile: using testsdir, installing check_sofia there Pekka.Pessi@nokia.com**20080307164917] [test_nua.mmp: not using IN_LIBSOFIA_SIP_UA and IN_LIBSOFIA_SRES with test program Pekka.Pessi@nokia.com**20080307164753 (test program links with dll, not contributes to it) ] [tport: allow using TPTAG_LOG() and TPTAG_DUMP() with tport_set_params(). Pekka.Pessi@nokia.com**20080307164706] [su_root.c: su_task_execute() now accepts NULL as return_value pointer Pekka.Pessi@nokia.com**20080307164634] [sip_util.c: fixed doxygen docs Pekka.Pessi@nokia.com**20080307164608] [test_call_hold.c: added more cases for hairy call termination. Pekka.Pessi@nokia.com**20080307164551] [test_basic_call.c: added test cases for error response terminating the session/dialog Pekka.Pessi@nokia.com**20080307164524] [test_proxy: trying to support 200 OK retransmissions over TCP better Pekka.Pessi@nokia.com**20080307164435 Keeping INVITE transactions alive for 64*T1 after initial 200 OK. Added test_proxy_set_logging() for easier debugging. ] [auth_module.c: calculating proper size for user data hash table. Pekka.Pessi@nokia.com**20080307164218] [nta: added nta_outgoing_bind() Pekka.Pessi@nokia.com**20080307163433] [nua: passing the culprit to the dialog usage removal functions Pekka.Pessi@nokia.com**20080307163336 If a session was terminated because of a error response returned to a request (as specified by RFC 5157), the nua_i_state event was not sent. Even with this fix, if a dialog has multiple usages, the event usages can be terminated without any indication to the application. ] [heap.h, htable2.h: fixed doxygen documentation Pekka.Pessi@nokia.com**20080307111432] [nua_subnotref.c: not increasing the subscription expiration time by NOTIFY Pekka.Pessi@nokia.com**20080306174833] [nua_dialog.[hc]: storing the last time refresh was requested in du_refquested Pekka.Pessi@nokia.com**20080306174710] [rules.am, sofia.am various Makefile.ams: added checklib target Pekka.Pessi@nokia.com**20080306174323 make all now builds only the library, not the (nua) test libraries. ] [tport_type_tls.c: not trying to use non-existing certificate/key, randfile, CAfile Pekka.Pessi@nokia.com**20080303171750] [test_simple.c: fixed race condition in test_simple.c Pekka.Pessi@nokia.com**20080303162317] [soa_static.c: fixed initial SOATAG_ORDERED_USER(1) Pekka.Pessi@nokia.com**20080305105415] [nua_session.c: determine INVITE overlap with re-INVITEs, too Pekka.Pessi@nokia.com**20080226180206] [test_nua.c: fixed tests Pekka.Pessi@nokia.com**20080226174552] [nua_session.c: fixed non-compiling fix on session state check Pekka.Pessi@nokia.com**20080226164000] [nua_stack.c: pass events while in shutdown if NUTAG_SHUTDOWN_EVENTS(1) has been set Pekka.Pessi@nokia.com**20080206170513] [nua: added NUTAG_SUB_EXPIRES() Pekka.Pessi@nokia.com**20080225191415] [nua: using global preferences. Added NUTAG_SHUTDOWN_EVENTS(). Pekka.Pessi@nokia.com**20080206170546] [nua_subnotref.c: fixed problems re-calculating the subscription duration upon NOTIFY Pekka.Pessi@nokia.com**20080225144939 Thanks for Colin Whittaker for reporting this problem. ] [nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE Pekka Pessi **20080213142324] [nua_session.c: ensure correct call state Pekka.Pessi@nokia.com**20080226161940 Avoid assert() on bad input from network - crash reported by Michael Jerris. Also if calls are being terminated, reject new INVITE/UPDATE/PRACK requests with 481. ] [line endings mike@jerris.com**20080227213604] [msvc2008 mike@jerris.com**20080227213431] [doxygen ifdefs mike@jerris.com**20080227211411] [max_prodceeding mike@jerris.com**20080227211149] [func name clonflict mike@jerris.com**20080227210645] [configure sun studio 64 mike@jerris.com**20080227210618] [sdp_print.c: pt 9 is, like, g722. 19 is used by nobody, so it can be used as filler? Pekka.Pessi@nokia.com**20080226163319] [nua: initial fix for sf.net bug #1827511 Pekka.Pessi@nokia.com**20080226160937 BYE can now be challenged. ] [nua: renamed crm_deinit as crm_complete, commented nua_client_methods_t initializers Pekka.Pessi@nokia.com**20080225171031] [tport.c: tport_name_dup() now validates the input Pekka.Pessi@nokia.com**20080212192626] [test_tport.c: fixed type-punning warning. Pekka.Pessi@nokia.com**20080201151309] [tport_tls.c: cleared confused logging levels Pekka.Pessi@nokia.com**20080201151025] [tport_tls.c: restructured error logging code. Pekka.Pessi@nokia.com**20080201144142] [su_root.c: try not to segfault in su_msg_destroy() Pekka.Pessi@nokia.com**20080128143048 Reduced window for race condition in su_msg_destroy(). Patch by Michael Jerris. ] [su_alloc.c: su_free() handles NULL gracefully Pekka.Pessi@nokia.com**20080128142703 Patch by Michael Jerris. ] [nta.c, sofia-sip.nta.h: added nta_leg_get_seq(), nta_leg_get_rseq() Pekka.Pessi@nokia.com**20080124082658] [nta.c: fixed graylisting if used with IPv4/IPv6 only Pekka.Pessi@nokia.com**20080125093139] [RELEASE, configure.ac: 1.12.8devel Pekka.Pessi@nokia.com**20080123192507] [TAG 1.12.8 Pekka Pessi **20080123182552] [TAG rel-sofia-sip_1_12_8 Pekka Pessi **20080123182546] [RELEASE, configure.ac: release 1.12.8 Pekka Pessi **20080123182542] [test_nta.c: fixed memset() usage. MSG_TRUNC. Pekka.Pessi@nokia.com**20080123182239] [configure.ac: prerelease version Pekka.Pessi@nokia.com**20080117125729] [nta.c: asserting in proper place when handling queue tail Pekka.Pessi@nokia.com**20080123160558] [nta.c: ignore tags in nta_leg_by_dialog() if they are empty strings Pekka.Pessi@nokia.com**20080123160523] [soa_static.c: fixed signedness error Pekka Pessi **20080123150730] [nta.c: added NTATAG_GRAYLIST(). Pekka.Pessi@nokia.com**20080122185944 Use NTATAG_GRAYLIST() as ttl value for sres_set_cached_srv_priority(). ] [sres: added ttl parameter to sres_set_cached_srv_priority() and sres_cache_set_srv_priority(). Pekka.Pessi@nokia.com**20080122185738] [test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold Pekka.Pessi@nokia.com**20080122163544] [sip_util.c: updated sip_response_terminates_dialog() as per RFC 5057. Pekka.Pessi@nokia.com**20080122161504 Changes handling of 423 in case of SUBSCRIBE. ] [soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer Pekka.Pessi@nokia.com**20080121190808 The wanted media state is based on original user SDP and SOATAG_HOLD() content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter instead. ] [soa.c: using session state in soa_set_activity() Pekka.Pessi@nokia.com**20080121190635 The media mode bits are set using (local) session description instead of remote offer/answer when O/A has been completed. ] [soa_static.c: cleaned inactive hold, added tests Pekka Pessi **20080117164046] [nta.c: NetModule hack re-prioritizing SRV records Pekka.Pessi@nokia.com**20080111171112 Original hack by Stefan Leuenberger . The hack reprioritizes the SRV records used with transaction in case a server refuses connection or it does not answer. ] [su_addrinfo.c: if su_getaddrinfo() service is NULL, try both with "0" and NULL Pekka.Pessi@nokia.com**20080111142846] [soa_tag.c: documented SOATAG_HOLD() inactive mode Pekka.Pessi@nokia.com**20080111141518] [Using # in SOATAG_HOLD to set media as inactive instead of sendonly Bernhard Suttner **20080111141201] [test_100rel.c: added test for redirect after 100rel response. Pekka.Pessi@nokia.com**20080123181816] [nua: terminate dialog when redirected and re-establish it with new request Pekka.Pessi@nokia.com**20080123180855] [torture_sip.c: added tests for accessing other extra headers beside P-Asserted-Identity/P-Preferred-Identity Pekka.Pessi@nokia.com**20080123171109] [nta.c: now using RFC3261-compliant dialog-matching Pekka.Pessi@nokia.com**20080123160111] [test_tport.c: using blocking sockets in test_incomplete() Pekka Pessi **20080123151336] [torture_su.c: set blocking on Pekka Pessi **20080123151300] [win32 project files: fixed slash direction Pekka Pessi **20080123151114] [test_nta.c: fixed receiving with sink socket Pekka.Pessi@nokia.com**20080123144750] [sip_extra.c, sip_parser.c: updated documentation Pekka.Pessi@nokia.com**20080123115611] [RELEASE: updated. Pekka.Pessi@nokia.com**20080122190429] [docs/Makefile.am, docs/conformance.docs: fixed links to RFC 5057. Pekka.Pessi@nokia.com**20080122175159] [nua/test_refer.c: run test_challenge_refer() only if we use proxy Pekka.Pessi@nokia.com**20080122174902 Test case is now more deterministic, too. ] [nta.c: fixed memory corruption in case sending ACK failed Pekka.Pessi@nokia.com**20080122172741 Thanks for Fabio Margarido for reporting this problem. ] [test_auth_digest.c: testing empty realm Pekka.Pessi@nokia.com**20080122163416] [conformance.docs: added RFC 5057 (sipping-dialogusage) Pekka.Pessi@nokia.com**20080122163401] [nua_stack.c: return specific error phrases from nua_client_init_request() Pekka.Pessi@nokia.com**20080121192031 As suggested by Jerry Richards. ] [nua_subnotref.c: fixed REFER re-try case Pekka.Pessi@nokia.com**20080121190911 REFER trashed its dialog when it got retried if there was no other dialog usages. ] [nua: removed asserts() on hairy dialog/request handling cases Pekka.Pessi@nokia.com**20080121180049] [TLS debug cleanup, 2/2. Stefan Knoblich**20080121174504 Silence openssl messages, part 2 of 2. Changed to TPORT_DEBUG=1 (thanks MikeJ). This one converts all ERR_print_errors() calls ] [stun.c: default log level to the same as SU_DEBUG define Pekka.Pessi@nokia.com**20080121171639 Patch by Michael Jerris ] [sres.c: default log level to the same as SU_DEBUG define Pekka.Pessi@nokia.com**20080121171519 Patch by Michael Jerris ] [su_global_log.c: disable warning on SU_DEBUG[] (Doxygen-only variable) Pekka.Pessi@nokia.com**20080121171425 Patch from Michael Jerris. ] [tport: build fixes from Freeswitch Pekka.Pessi@nokia.com**20080121170538] [TLS debug cleanup Stefan Knoblich**20080121153950] [nua: Added NUA_ERROR_AT() macro Pekka.Pessi@nokia.com**20080118160610 Made internally generated 900 (and 904) response phrases unique as suggested by Jerry Richards. ] [nua_stack.c: removed noisy debug message from nua_client_request_sendmsg() Pekka Pessi **20080117164235] [Makefile.am: added hide_emails.sh to dist Pekka Pessi **20080117164154] [autogen.sh: use automake 1.9 unless otherwise specified Pekka Pessi **20080117144848] [libsofia-sip-ua/docs/Doxyfile.aliases: added @NEW_1_12_8 and @VERSION_1_12_8 Pekka.Pessi@nokia.com**20080117125518] [RELEASE: added new features and bug fixes since 1.12.7 Pekka.Pessi@nokia.com**20080117125321] [AUTHORS: updated Pekka.Pessi@nokia.com**20080117125301] [su_alloc.c: marked new features for release 1.12.8. Pekka.Pessi@nokia.com**20080117125233] [sofia-sip/htable2.h: marked new features for release 1.12.8 Pekka.Pessi@nokia.com**20080117125203] [sofia-sip/su_wait.h, su_port.h, su_root.c: documented new functions and types for 1.12.8 Pekka.Pessi@nokia.com**20080117125132] [sres.c, sres_cache.c: documented sres_set_cached_srv_priority(), sres_cache_set_srv_priority() Pekka.Pessi@nokia.com**20080117124810] [nua: fix sf.net bug #1867753 (avoid duplicating initial route set) Pekka.Pessi@nokia.com**20080116182047] [su.h: IPv6 fix for Vista SDK Pekka.Pessi@nokia.com**20080114115917 Patch by Michael Jerris ] [tport_internal.h: grammar in doc Pekka.Pessi@nokia.com**20080111171933] [Makefile.am: fixed dist target Pekka.Pessi@nokia.com**20080111171519] [sres.c, sres_cache.c: NetModule hack for re-prioritizing SRV records Pekka.Pessi@nokia.com**20080111171223 Original hack by Stefan Leuenberger . The hack reprioritizes the SRV records used with transaction in case a server refuses connection or it does not answer. New functions sres_cache_set_srv_priority() and sres_set_cached_srv_priority(). ] [Makefile.am: added tests to DIST_SUBDIRS Pekka.Pessi@nokia.com**20080111143023] [test_htable2.c: define struct before using it in prototypes Pekka Pessi **20071120030507] [nua_notifier.c: allow notifier handle to be shut down if SUBSCRIBE has been accpeted but no NOTIFY has been sent Pekka.Pessi@nokia.com**20080104215408] [nua_notifier.c: fix problem handing expiration time if NOTIFY is sent before SUBSCRIBE has been responded Pekka.Pessi@nokia.com**20080104215320] [nua_subnotref.c: accept NOTIFY without Event header Pekka.Pessi@nokia.com**20080104215100] [nua/outbound.c: reduce logging Pekka.Pessi@nokia.com**20080104203258] [nua_session.c: do not clear soa when an overlapping INVITE is received Pekka.Pessi@nokia.com**20080104203122 ] [nta.c: follow more closely RFC 3261 request matching rules Pekka.Pessi@nokia.com**20080104202701] [nta.c: fixed request merging with RFC 2543 proxies Pekka.Pessi@nokia.com**20080104182035 Updated matching of PRACKs with outstanding 100rel, too. ] [test_nta.c: added check for request merging (with both 3261 and 2543 proxies) Pekka.Pessi@nokia.com**20080104181901] [tport_type_udp.c: made IP_ADD_MEMBERSHIP as portable Pekka Pessi **20071119200109] [tport_type_udp.c: when binding to multicast address, join to the group, too. Pekka.Pessi@nokia.com**20080103170839 Use "canonic" IP address (from host-part of the SIP URI) to specify interface. ] [sac-su2.m4: checking for IP_ADD_MEMBERSHIP and IP_MULTICAST_LOOP Pekka.Pessi@nokia.com**20080103160211] [nta.c: calculate next timeout only after completing current timeout Pekka.Pessi@nokia.com**20080103131904 Thanks to Mike Jerris for reporting this problem. ] [m4/sac-su2.m4: checks for SO_RCVBUFFORCE and SO_SNDBUFFORCE Pekka.Pessi@nokia.com**20080103121147] [tport_type_udp.c: using SO_RCVBUFFORCE and SO_SNDBUFFORCE to set rmem/wmem on udp sockets Pekka.Pessi@nokia.com**20080103121127 Referring reader to Linux sysctls to TPTAG_UDP_RMEM and TPTAG_UDP_WMEM documentation. ] [stun.c: try to avoid using stun handle after returning from discovery callback Pekka.Pessi@nokia.com**20071220131337 Crash reported and partial patch by Daniele Rondina. ] [check_sofia.c: pass xml result file as optional parameter to check_sofia Pekka.Pessi@nokia.com**20071213141534] [libsofia-sip-ua/docs/hide_emails.sh: moved to scripts/ subdir Pekka.Pessi@nokia.com**20071213141504] [nua_session.c: avoid NULL nua_session_state_t pointer in nua_update_client_report Pekka Pessi **20071130140314 Thanks to Fabio Margarido for reporting this problem. ] [Makefile.am, configure.ac: added subdir tests for Check-based module tests Pekka.Pessi@nokia.com**20071129180525] [nua: moved test_nua contents in ltlibraries Pekka.Pessi@nokia.com**20071129180344] [rules/sofia.am: defining INTERNAL_INCLUDES so it can be used from any subdir Pekka.Pessi@nokia.com**20071129172110 utils/Makefile.am, libsofia-sip-ua/nua/Makefile.am: using INCLUDES from sofia.am ] [tport: collecting statistics Pekka Pessi **20071129171740] [tport.h, tport.c: updated tport_create() docs Pekka.Pessi@nokia.com**20071127004934] [nua_stack.c: more logging on bad authentication Pekka.Pessi@nokia.com**20071122145913] [test_su.c: removed calls of deprecated (and unimplemented) functions su_clone_pause()/su_clone_resume() Pekka.Pessi@nokia.com**20071128151507] [nua: moved message passing into nua_stack.c. Recfactored reference counting. Pekka.Pessi@nokia.com**20071127002305 This seems to fix the memory leak within 1.12.7. ] [configure.ac: defining HAVE_SOFIA_HTTP Pekka Pessi **20071127001541] [sofia-sip/su_wait.h: added su_msg_new(), su_msg_send_to(), su_msg_deinitializer() Pekka.Pessi@nokia.com**20071126221227 Reduce overhead from message passing. ] [test_basic_call.c: fixed --no-proxy tests Pekka.Pessi@nokia.com**20071126220835] [test_proxy.c: removed memory leaks Pekka.Pessi@nokia.com**20071126220816] [nta: added nta_msg_is_internal(). Pekka.Pessi@nokia.com**20071122150133] [nta.c: always use tport from NTATAG_TPORT() (even if it is bad) Pekka.Pessi@nokia.com**20071122143621 Add tests, too. ] [nta.c: nta_outgoing_*create() now uses NTATAG_TPORT() even if NTATAG_DEFAULT_PROXY() is set Daniele Rondina **20071121161604] [test_htable2.c: removed conversion warning Pekka.Pessi@nokia.com**20071127184341 Conversion of size_t to isize_t when compiled wihout --disable-size-compat. ] [nta: added nta_sip_is_internal(). Pekka.Pessi@nokia.com**20071122143945] [test_nta.c: refactored client side tests Pekka.Pessi@nokia.com**20071122134214] [test_nta.c: removed dead code Pekka.Pessi@nokia.com**20071121164642] [test_tport.c: skipping tests on TLS if send fails. Pekka Pessi **20071121121040] [tport.c: fixed EXPENSIVE unresolved bug. Pekka.Pessi@nokia.com**20071120175354] [tport: tport_name_is_resolved() now uses host_is_ip_address() Pekka.Pessi@nokia.com**20071120170919] [test_register.c: fixed authentication caching issue Pekka Pessi **20071120164706] [nua_register.c: silenced warning with URL_INIT_AS() on Sun CC Pekka Pessi **20071120164634] [su_tagarg.h: call va_copy() before calling tl_vlist() Pekka Pessi **20071120113208 Looks like Solaris on amd64 is not happy with normal va_start()/va_end() use of va_lists. Thanks for Michael Jerris for reporting the problem. ] [su_alloc.c: silenced warnings on Sun CC Pekka Pessi **20071119170006] [nua_register.c: sf.net bug #1816647: Outbound contact does not make it to dialogs Pekka.Pessi@nokia.com**20071116173400 Now use Contact from first registration instead of Contact generated from transport. ] [test_register.c, test_proxy.c: use realm "test-proxy" during normal tests Pekka.Pessi@nokia.com**20071116172955] [sofia-sip/su_alloc.h, su_alloc.c: added su_home_lock(), su_home_trylock(), su_home_unlock() Pekka.Pessi@nokia.com**20071116161709 Added test in torture_su_alloc.c. Using in su_pthread_port.c. ] [nua/test_proxy.[hc], nua/test_register.c: test support of multiple realms. Pekka.Pessi@nokia.com**20071116152900] [auth_client.c: allow multiple challenges in auc_credentials() or auc_all_credentials() Pekka.Pessi@nokia.com**20071116152758] [Added #include Youness Alaoui **20071116113851] [htable2.h: fixed usize_t/size_t confusion Pekka.Pessi@nokia.com**20071115134038] [sofia-sip/htable2.h: fixed HTABLE_PROTOS2() Pekka.Pessi@nokia.com**20071107125808] [nua_notifier.c: updated nua_i_subscribe, nua_notify() and nua_r_notify documentation Pekka.Pessi@nokia.com**20071025171545] [su_alloc.c: fixed su_home_init() (not initializing pointer to mutexes) Pekka.Pessi@nokia.com**20071023144517] [configure.ac, RELEASE: opened tree for development Pekka.Pessi@nokia.com**20071017151315] [libsofia-sip-ua/su/Makefile.am: fixed problem with automake 1.9 Pekka Pessi **20071017150112] [TAG 1.12.7 Pekka Pessi **20071017124315] [TAG rel-sofia-sip-1_12_7 Pekka Pessi **20071017124311] [nua.docs: replace reference to nua_cli.c with sofsip_cli Pekka Pessi **20071017105011] [nua: Open C fixes Pekka Pessi **20071016120746] [open_c: included in the dist Pekka.Pessi@nokia.com**20071015122713] [configure.ac, RELEASE: version 1.12.7 Pekka.Pessi@nokia.com**20071015080322] [TAG Release candidate 2 for 1.12.7 Pekka Pessi **20071012183842] [test_sip_events.c: checking some nua_i_notifier/nua_i_subscriber events Pekka Pessi **20071012183831] [nea_server.c: avoid raporting un-SUBSCRIBE twice Pekka Pessi **20071012183802] [sip_basic.c: removed dead code Pekka Pessi **20071012173958] [Fixed various tests on win32. Pekka Pessi **20071012173951] [test_class.h: fixed test_auth_class, test_numeric_class declaration Pekka Pessi **20071012173906] [nta_internal.h, nua_params.c: fixed NTATAG_UDP_MTU() type Pekka Pessi **20071012173815] [tstdef.h: silenced warnings on TEST_M() Pekka Pessi **20071012173743] [url.h: silenced warning on URL_INIT_AS() Pekka Pessi **20071012173725] [win32/check.cmd: added option -a to relevant tests. Pekka Pessi **20071012173700 Optionally check Release build. ] [win32/build_sources.cmd: added extra headers to sip_tag.c and sip_parser_table.c Pekka Pessi **20071012173342] [win32: added missing files from Makefile.am, .dsp, vproj Pekka Pessi **20071012173252] [win32/tests/torture_su_root: fixed include paths Pekka Pessi **20071012173219] [win32/utils/stunc.dsp: fixed include paths Pekka Pessi **20071012173202] [Makefile.am: fixed ordering of SUBDIRS Pekka Pessi **20071012124217] [htable.h, htable2.h: freeing old hash table after resize. Pekka.Pessi@nokia.com**20071102142310 Ensuring that resized hash table has enough slots for existing entries. ] [su_clone_start(): fixed spurious release of a pthreaded port Pekka.Pessi@nokia.com**20071011162528] [TAG release candidate 1 for 1.12.7 Pekka Pessi **20071011181651] Patch bundle hash: 435df6879c3d05127e297e12a442174ab8becf7c