summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip/sip_transport.c
AgeCommit message (Collapse)Author
2014-03-04Close #1739: Info of last receive timestamp and data size in TCP/TLS.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4775 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-28Fixed #1699: Transport state callback to report transport shutdown events ↵Liong Sauw Ming
(Thanks to Johan Lantz for the discussion and preliminary patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4773 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703 General bug fixes: fixed some wrong null checking orderBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4615 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13Re #1671: Destroy tdata_counter only after cleaning up dangling transmit buffer.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4533 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-30Fixed #1671:Nanang Izzuddin
- Transport manager maintains transmit buffer instance list, so any dangling transmit buffer will be freed when transport manager is destroyed. This is configurable via PJSIP_HAS_TX_DATA_LIST, the default is zero/disabled. - Updated publish client subscription to not use the 'internal' pjsip_tx_data list structure. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4530 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-30Re #1630 (misc): Fixed various error handling (sip_transport.c and ↵Liong Sauw Ming
sip_endpoint.c) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4529 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-25Fixed #1660: SIP transport fallbacks to use default interface when ↵Nanang Izzuddin
pj_getipinterface() fails in getting local interface for the specified destination. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4504 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-29Re #1630 (misc): Added missing destroy of mutexes. This may cause failure to ↵Liong Sauw Ming
recreate the mutexes in some platforms (such as BB10). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4454 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06Re #1590: Fixed pjsip_rx_data_clone() when there are multiple instances of a ↵Nanang Izzuddin
single header type (thanks Mike Evans for the report and the fix). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4295 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04Close #1590: APIs to facilitate pending processing of pjsip_rx_dataBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4275 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20Fixed #1585: IPv6 support for SIP TCP and TLS transports and PJSUA-LIB v2Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4262 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31Misc (re #1562): fixed compile warnings on Win platform (some are reported ↵Nanang Izzuddin
as compile error on Symbian). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4239 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07Fixed #1412: Account specific NAT settings: STUN, ICE, and TURNBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Re #1474: merged r4081-r4093Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4094 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-11Re #1474: merged r4031-r4037Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4038 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-14Ticket #1056:Nanang Izzuddin
- Added functions to set/unset transport state notification callback on specific transport. - Updated transaction to immediately terminate the transactions when their transport gets disconnected. - Minor update: renamed function pjsip_tpmgr_set/get_status_cb() to pjsip_tpmgr_set/get_state_cb(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3138 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-10More #1032 (new SIP TCP/TLS transport callback):Benny Prijono
- PJSUA-LIB transport callback, if installed, will call the previously registered callback, to allow multiple transport callbacks to be installed - there seem to be a bug with the use of "pjsip_tp_state_callback" everywhere (the "pjsip_tp_state_callback" type is pointer, but most variables of this type are declared to pointer too) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3119 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25More ticket #1032:Nanang Izzuddin
- Updated transport state notification callback to return void. - Updated transport state enum to only contain connected and disconnected, no more bitmask value. - Added direction field to SIP transport. - Removed remote hostname hash from transport key. - Updated cert info dump to return -1 when buffer is insufficient. - Added new error code PJSIP_TLS_ECERTVERIF. - Updated get_cert_name() in ssl_sock_symbian.c to use heap buffer instead of stack. - Minors, e.g: added prefix PJ in cipher types, docs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-24Ticket #1032:Nanang Izzuddin
- Initial version of server domain name verification: - Updated SSL certificate info, especially identities info - Updated verification mechanism as in the specifications in ticket desc. - Added server domain name info in pjsip_tx_data. - Added alternative API for acquiring transport and creating transport of transport factory to include pjsip_tx_data param. - Server identity match criteria: - full host name match - wild card not accepted - if identity is URI, it must be SIP/SIPS URI - Initial version of transport state notifications: - Added new API to set transport state callback in PJSIP and PJSUA. - Defined states: connected/disconnected, accepted/rejected, verification errors. - Minors: - Updated SSL socket test: dump verification result, test of requiring client cert, and few minors. - Updated test cert to include subjectAltName extensions. - Added SSL certificate dump function. - Updated max number of socket async operations in Symbian sample apps (RSocketServ::Connect()) to 32 (was default 8). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3106 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Fixed ticket #1036: Stray timer may be registered by SIP TCP and TLS ↵Benny Prijono
transport in destroy routine, which could crash the program on Symbian (thanks Tamàs Solymosi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3077 74dad513-b988-da41-8d7b-12977e46ad98
2009-09-22Fixed ticket #959: Assertion upon receiving malformed SIP messages (thanks ↵Benny Prijono
Andrey Kovalenko for the report) - transaction checks for the method before processing incoming ACK request - transport layer checks the validity of status code in the response - added SIPP scenario to reproduce the bad ACK request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2915 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29Integration of Sipit24 branch, many tickets involved:Benny Prijono
- #793: AMR encoder should regard 'mode-set' param specified by remote decoder. - #831: Automatically switch to TCP transport when sending large request - #832: Support for outbound proxy setting without using Route header - #849: Modify conference audio switch behavior in connecting ports. - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces). - #851: Support for regular nomination in ICE - #852: --ip-addr support for IPv6 for media transport in pjsua - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report) - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report) - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice - #857: Support for ICE keep-alive with Binding indication - #858: Do not authenticate STUN 438 response - #859: AMR-WB format param in the SDP is not negotiated correctly. - #867: Return error instead of asserting when PJSUA-LIB fails to open log file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-17Ticket 684: protect the memory allocation for TX packet with try/catch, and ↵Benny Prijono
fixed various transmit data buffer leaks when transmission fails immediately git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2380 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28Ticket #538: Closed TCP connection should be removed from the hash table ↵Benny Prijono
immediately git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2180 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20Large changeset to replace all occurences of year 2007 with 2008 in the ↵Benny Prijono
copyright notice git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-15Ticket #482: TCP keep-alive packets are corrupting SIP message (thanks ↵Benny Prijono
Helmut Wolf) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1800 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-17Reverted back changes in r1631Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1634 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-14Make pj_ioqueue_op_key_init() in pjsip_tx_data_create() more correctBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1632 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-14Fixed case when tdata is NULL pjsip_tx_data_get_info()Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1631 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03Fixed compilation errors/warnings on Linux with the recent IPv6 commitsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1611 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-02More ticket #421: fixed SIP messaging components to support IPv6 formatBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1610 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-01Ticket #421: initial IPv6 support: UDP transportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1602 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31Ticket #407: keep-alive for UDP transports in PJSUA-LIBBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1536 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30Changed pjsip_tx_data obj_name to be consistent with its pool obj_nameBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1462 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-27Fixed ticket #383: Bug with handling Via received and rport parameters for ↵Benny Prijono
response message git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1453 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16Ticket #354: continuing work to port the Symbian libraries to .DSO formatBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20Ticket #354: build PJLIB as dynamic libraries (.DSO) in SymbianBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-23More ticket #341: renamed pjsip_transport_send_raw() to ↵Benny Prijono
pjsip_tpmgr_send_raw(), and added pjsip_endpt_send_raw() and pjsip_endpt_send_raw_to_uri() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1388 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-23Ticket #341: implemented pjsip_send_raw_data() function to send raw data to ↵Benny Prijono
a destination git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1387 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-28Fixed ticket #306: Error in SIP transport lookup because of memory alignment ↵Benny Prijono
problem (thanks Samuel Vinson) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1310 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12Symbian fixes to compile on GCCE (nested callbacks etc)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11HUGE changeset to make the rest of the libraries compile with C++ modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03Misc Symbian fixes, looks goodBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1248 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02Ported PJSIP and PJSIP-SIMPLE to SymbianBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1241 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with ↵Benny Prijono
2007 in copyright notice in all sources git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98