[SR-Dev] New commits on branch ser_core_cvs

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Mar 20 21:14:02 CET 2009


URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0051630c26890169e9061c82f1ae56d38c479062
Author: Andrei Pelinescu-Onciul <andrei at 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=e2c4ed6b23b7180e9d255ecd7d7cea6867cb54b5
Author: Andrei Pelinescu-Onciul <andrei at 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=ffc72fcf04323ca28b94de2ffe0242f01c22201d
Author: Andrei Pelinescu-Onciul <andrei at 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=31657268121898606dff85af61d739294bead85a
Author: Andrei Pelinescu-Onciul <andrei at 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=575a0b47b931db728da6d3b31f1c57ae52160263
Author: Andrei Pelinescu-Onciul <andrei at 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 at iptel.org>

URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b4fb73d0ea711022aee638fd684b2d320a87c5f7
Author: Jan Janak <jan at 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=524b4677344b8037f228f862f4efff359dd5a0b8
Author: Jan Janak <jan at 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=b5b92e046ded47d25c0525a9e500f5a59f63e5cf
Author: Andrei Pelinescu-Onciul <andrei at 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=f072585d62b1426d199937d4e9024906af8e6085
Author: Andrei Pelinescu-Onciul <andrei at 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=d88602cd07e8d7454aa4c81dc1e997cd27cad476
Author: Pavel Kasparek <pavel at 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=4914d974ad3b2a8ac7b98517b2dc420d9d52e360
Author: Pavel Kasparek <pavel at 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=33bfeb9da910ad94c105671a0973bc9f7f234e23
Author: Miklos Tirpak <miklos at 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=536065b88589f9f8fa82b1942fee143cfd75fbdd
Author: Miklos Tirpak <miklos at 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=77932dbdca2314d11aa016fd23d262b69fc51239
Author: Andrei Pelinescu-Onciul <andrei at 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=e655392ac7e16139e245310f56683eff42c3bfcb
Author: Andrei Pelinescu-Onciul <andrei at 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=827cd3beca9f14d3a613b4bdb242ff58341893ab
Author: Andrei Pelinescu-Onciul <andrei at 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=9a74e06a15683851fbb3d1f6ad1a9bd398f14b09
Author: Andrei Pelinescu-Onciul <andrei at 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=efc23dce5045b95b7c9685086829c81d4514a814
Author: Andrei Pelinescu-Onciul <andrei at 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)




More information about the sr-dev mailing list