URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0051630…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Mar 20 19:59:14 2009 +0000
tcp: minor optimization
- tcp_req complete & has_content_len transformed into flags
(4 bytes saved per connection)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e2c4ed6…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Mar 20 17:27:15 2009 +0000
sercmd: minor makefile fix
- clear C_DEFS, since we don't need ser common DEFS for building sercmd
(minor compile warning that appeared after the recend DEFS->C_DEFS changes
in the main Makefiles)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ffc72fc…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Mar 20 17:26:51 2009 +0000
tcp internal: send timeout is now kept only in ticks
- removed send_timeout_s and wq_timeout and replaced them with send_timeout,
which is now kept only in ticks. This fixes the cfg.set_delayed_int problem
reported by Miklos.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3165726…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Mar 20 16:10:37 2009 +0000
core: typo fix
- ';' after if() (again). Fortunately it didn't have any impact
since right now nobody returns NONSIP_MSG_ACCEPT from a
nonsip_msg callback.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=575a0b4…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Mar 19 17:59:14 2009 +0000
tcp: typo & minor optimization
- fixed ';' after if() on tcp connection free (luckily that code path was
not very common and it was even more improbable to have a ref'ed connection
at that point).
- changed unlikely() into likely() when checking connect() return in async
mode (it's much more probable to get an EINPROGRESS).
Reported-by: Libor Chocholaty <libor(a)iptel.org>
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b4fb73d…
Author: Jan Janak <jan(a)iptel.org>
Date: Thu Mar 19 15:15:51 2009 +0000
Rename Contact parameter select 'method' to 'methods'
According RFC3840 the correct name of the parameter is 'methods',
not 'method'.
Reported by Daniel-Constantin Mierla
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=524b467…
Author: Jan Janak <jan(a)iptel.org>
Date: Thu Mar 19 15:15:04 2009 +0000
Rename Contact parameter 'method' to 'methods'
According RFC3840 the correct name of the parameter is 'methods',
not 'method'.
Reported by Daniel-Constantin Mierla
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b5b92e0…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Mar 19 14:32:36 2009 +0000
make install: avoid re-linking lib dependent modules
- install doesn't try first to build everything, it will build as
it installs. This will avoid re-linking ser-lib dependent
modules (the normal "make all" would use a local rpath, while "make
install" would change rpath to the install destination dir => the
module needs to be relinked with a different rpath or on Darwin
the lib has to be rebuilt)
- avoid an extra make call on lib install
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f072585…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Thu Mar 19 13:42:09 2009 +0000
build system: avoid libraries re-compiling
- ignore module DEFS when deciding whether or not to recompile a
library: DEFS split into C_DEFS (for common DEFS which are taken
into account when deciding whether or not to recompile a lib)
and DEFS, which are now visible only inside the module or lib
that uses them. Same for INCLUDES and C_INCLUDES.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d88602c…
Author: Pavel Kasparek <pavel(a)iptel.org>
Date: Mon Mar 16 10:35:10 2009 +0000
fixing missing $ in ser_mysql.sh script
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4914d97…
Author: Pavel Kasparek <pavel(a)iptel.org>
Date: Mon Mar 16 10:08:44 2009 +0000
Debian packaging - fixing path to mysql sql files in my_create.sh script
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=33bfeb9…
Author: Miklos Tirpak <miklos(a)iptel.org>
Date: Fri Mar 13 13:59:28 2009 +0000
The fixup function prototypes of the config variables have been
extended with the group name.
All the fixup functions have been updated.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=536065b…
Author: Miklos Tirpak <miklos(a)iptel.org>
Date: Tue Mar 10 16:26:35 2009 +0000
Strip, prefix, rewriteuser, ... all the SET_* actions preserve the
original URI scheme unless the host name is rewritten. If the host name
is set, then tel: and tels: URIs are converted to sip: or sips:, and the
user=phone parameter is added.
A script function, userphone(), is introduced: It adds the "user=phone"
parameter to a sip: or sips: RURI if the param is not yet present.
(Does not change tel: and tels: URIs).
(Patch has been created with cooperation with Michal Matyska.)
Fixes SER-435.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=77932db…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Mar 9 13:47:48 2009 +0000
core: check & fix Content-Length when sending on tcp
- automatically check & fix wrong Content-Length before forwarding
on tcp or tls
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e655392…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Mar 9 13:45:49 2009 +0000
tcp: config option for the async write block size
- the block size used for the async writes can now be configured
both from ser.cfg (tcp_wq_blk_size) and at runtime. This value
has only a little performance impact and only when writes are
delayed. Small values are safer (big values on proxies that
open thousands of connections over slow links would eat up a
lot of memory). For now it's main use is debugging.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=827cd3b…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Mar 9 13:45:28 2009 +0000
tcp: config option for the read buffer size
- the read buffer size can now be configured both at runtime and
from ser.cfg (tcp_rd_buf_size). A high value will help
performance for tcp connections with lots of traffic, however it
will increase the memory consumption. As a rule of thumb use
high values(e.g. 32768, 65536) on servers which open only a few
tcp connections and have very heavy traffic on them and a low
value (e.g. 4096, 2048) on servers that are expected to have
lots of open connections (50k - 100k+). Note also that this
value will also limit the maximum sip datagram size that can be
received on tcp. The default value is 4096.
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9a74e06…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Mon Mar 9 13:39:10 2009 +0000
tcp: dyn. config fix for tcp_con_lifetime
- cfg.set_delayed_int didn't work (fixup tried to modify another
config variable which doesn't work with cfg.set_delayed*)
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=efc23dc…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Mar 6 16:54:10 2009 +0000
tcp: diff. connect timeout for async & states cleanup
- async mode will now honour tcp_connect_timeout (up to now it
used tcp_send_timeout also for connects)
- internal states cleanup (dropped S_CONN_PENDING, fixed
S_CONN_ACCEPT->S_CONN_OK transition a.s.o)