April 3, 2003
View 20581c5ac2

- sl_send_reply with reply_to_via==0 (default) fixed (hopefully)

Andrei Pelinescu-Onciul authored on 03/04/2003 18:06:53
April 2, 2003
View 21e0d5c10f

- fixed get_send_sock for the tcp to udp forwarding with bind_address!=0 (recent change)

Andrei Pelinescu-Onciul authored on 02/04/2003 18:20:34
March 19, 2003
View e3dccdc952

- replaced all mallocs/frees w/ pkg_malloc/pkg_free - minor lock_dealloc warning fixes

Andrei Pelinescu-Onciul authored on 19/03/2003 18:41:58
February 19, 2003
View d531a5d5c4

- tm tcp support (though no timers yet) changelist (random order): - forward.c: removed calls to upd_send & tcp_send & replaced them with calls to msg_send - ip_addr.h: added struct dest_info (used in tm rbs) - proxy.c: all *proxy fucntions require also the protocol - resolve.c: added proto to sip_resolvehost, for SRV lookups - tags.h: changed TOTAG_LEN into TOTAG_VALUE_LEN, to solve redefinition conflict with tm/t_msgbuilder.h - modules/sl/sl_funcs.c: modified sl_send_reply to use the transport independend msg_send - modules/tm/t_funcs.c: modified send_pr_buffer to use msg_send & rb->dst - modules/tm/t_fwd.c: added proto to various functions - modules/tm/t_lookup.c: init_rb() is proto indep. & it uses struct dest_info - modules/tm/t_msgbuilder.c: build_uac_request uses proto - modules/tm/t_reply.c: updated to use rb->dst, fixed TOTAG_LEN bug - modules/tm/tm.c: added t_forward_nonack_{udp, tcp}, t_relay_to_{udp,tcp}, t_replicate_{udp, tcp} - modules/tm/uac.c: t_uac, t _uac_dlg, gethfblock, uri2proxy changed to use proto & rb->dst - modules/tm/ut.h: added proto to uri2proxy

Andrei Pelinescu-Onciul authored on 19/02/2003 17:16:41
February 11, 2003
View c030910cb4

- created a protocol independent send fucntion: msg_send - replaced the calls to tcp_send &udp_send w/ msg_send in forward.c - updated sl/sl_send_reply to work with tcp (not tested)

Andrei Pelinescu-Onciul authored on 11/02/2003 14:02:50
February 7, 2003
View ab130758c9

- more tcp stuff and a lot of merging w/ latest cvs - content-length is appended automatically to messages that cross from udp to tcp - tcp2udp and udp2tcp now work under heavy stress (e.g.: throttle 200, 10 ser processes on dual cpu) - tcp performance still sucks, some things like disabling Nagle are still not in yet (for better debugging)

Andrei Pelinescu-Onciul authored on 07/02/2003 17:02:15
January 29, 2003
View de38488ef8

- more fixes (transport stuff)

Andrei Pelinescu-Onciul authored on 29/01/2003 18:12:18
View 534092baac

- more tcp error checking

Andrei Pelinescu-Onciul authored on 29/01/2003 16:14:13
January 24, 2003
View e1e6c91475

- replies will be sent to rport if present - finished adding new via param (i=tcp_connection_id_in_rev_hex) [ not it's not only parsed but also used ]

Andrei Pelinescu-Onciul authored on 24/01/2003 17:56:42
January 23, 2003
View 2d4b798ec2

determination of outbound interace introduced (get_out_socket)

Jiri Kuthan authored on 23/01/2003 12:27:50
December 17, 2002
View a6982b85d8

parse_uri cleanup: - It does no create copy of strings anymore - Fields are not zero terminated - Prototype of some low-level functions changed to accept str* instead of char*, that includes: mk_proxy, sip_resolvehost, str2ip, str2ip6, ip_addr2he - All modules updated (hopefully)

Jan Janak authored on 17/12/2002 18:14:32
December 12, 2002
View f2f969dda6

- changed sip_msg (new rcv member containing all the ips, ports, protocol) - added a "proto" parameter to forward_request, via_builder, get_send_sock etc. - added 2 new script commands: forward_udp & forward_tcp - lots of tcp bloat - changed parse_via to recognize TCP - more functions added to ip_addr.h (cmp for ips & sockaddrs etc.)

Andrei Pelinescu-Onciul authored on 12/12/2002 21:46:37
December 10, 2002
View 6ee62314b8

- even more tcp receive bs - sip msg.buff & orig are no longer 0 terminated (to avoid an extra copy in the tcp case)

Andrei Pelinescu-Onciul authored on 10/12/2002 19:41:44
October 24, 2002
View faa9e46f23

Line 321 - a comma was missing! ;-)

Bogdan-Andrei Iancu authored on 24/10/2002 14:21:08
October 23, 2002
View 1baa06b5df

- myself matches now also the uri port - modified check_self, add_alias & grep_alias to accept port numbers - added loopback check - modified get_send_socket to return the first non loopback ipv4 interface if bind_address==0

Andrei Pelinescu-Onciul authored on 23/10/2002 15:12:20