Module: sip-router
Branch: sr_3.0
Commit: 1cfb5b678ec102cfa586babaf29618de5debc3bf
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1cfb5b6…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Aug 11 17:04:14 2010 +0200
NEWS: notes about Dragonfly BSD support
(cherry picked from commit f6b240d51684040572c75555b1f767df0100d970)
---
INSTALL | 20 +++++++++++---------
NEWS | 1 +
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/INSTALL b/INSTALL
index d1731e3..9a8c0cd 100644
--- a/INSTALL
+++ b/INSTALL
@@ -10,18 +10,18 @@ $Id$
===========================================
Welcome to the SIP router! This is an amazingly flexible, robust
- and secure SIP server built on years of experience in several Open
+ and secure SIP server built on years of experience in several Open
Source projects. It's a merge of the SIP Express Router and the
OpenSER/Kamailio products produced by a joint development team.
This memo gives you hints how to set up SIP Router quickly. To
understand how SIP Router works and how to configure it properly,
- please read the admin's guide available from the SIP Router website.
+ please read the admin's guide available from the SIP Router website.
- We also urge you to read latest ISSUES (available from SIP Router website
+ We also urge you to read latest ISSUES (available from SIP Router website
too) and check for potential problems in this release.
- Users of previous releases are encouraged to read NEWS to learn how to move to
- this new SIP Router version.
+ Users of previous releases are encouraged to read NEWS to learn how to move
+ to this new SIP Router version.
Table of Contents
@@ -41,11 +41,13 @@ Table of Contents
1. Supported Architectures and Requirements
-------------------------------------------
-Supported operating systems: Linux, FreeBSD, NetBSD, OpenBSD, Solaris, OS/X Darwin
-Partially supported: Windows+Cygwin (core + static modules only, no IPv6, no TCP,
-no dynamic modules)
+Supported operating systems: Linux, FreeBSD, NetBSD, OpenBSD, Solaris, OS/X
+Darwin, Dragonfly BSD.
+Partially supported: Windows+Cygwin (core + static modules only, no IPv6, no
+TCP, no dynamic modules)
-Supported architectures: i386, x86_64 (amd64), armv4l, sparc64, powerpc, powerpc64
+Supported architectures: i386, x86_64 (amd64), armv4l, sparc64, powerpc,
+powerpc64
Experimental architectures: mips1, mips2, sparc32, alpha
(for other architectures the Makefiles might need to be edited)
diff --git a/NEWS b/NEWS
index 225eedc..247456e 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ $Id$
sip-router changes
core:
+ - Dragonfly BSD support
- type casts operators: (int), (str).
- new operators eq, ne for string compares and ieq, ine for interger
compares. The names are not yet final (use them at your own risk).
Module: sip-router
Branch: sr_3.0
Commit: d1c12a8b1facd9bfd65550264de796caad6116d1
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d1c12a8…
Author: Vincent Stemen <vince.lists(a)ngtek.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Wed Aug 11 16:45:05 2010 +0200
db_text(k) makefile: fix make use
This fixes a bug. It called make directly which breaks on
platforms where it is being compiled under gmake.
Signed-off-by: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
(cherry picked from commit 5d8552087be74332c1a7812ffb01d8298060cc62)
---
modules_k/db_text/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/db_text/Makefile b/modules_k/db_text/Makefile
index dd35b11..36bc48b 100644
--- a/modules_k/db_text/Makefile
+++ b/modules_k/db_text/Makefile
@@ -24,7 +24,7 @@ ifeq ($(INSTALL_FLAVOUR),kamailio)
# extra install for kamailio
install-dbtext-scripts: $(bin_prefix)/$(bin_dir)
- DBTEXTON=yes make -C ../../utils/kamctl/ install-modules
+ DBTEXTON=yes $(MAKE) -C ../../utils/kamctl/ install-modules
install-scripts: install-dbtext-scripts
Module: sip-router
Branch: sr_3.0
Commit: 8fafff8a11a3d643de47f8d1f389d0c5e6316beb
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8fafff8…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Sun Jun 20 19:40:55 2010 +0200
tcp: force eof after read if write side hangup
Even if POLLRDHUP is not supported, but we detected a write side close
(POLLHUP) or an error (POLLERR) or such an event was previously detected by
tcp_main (F_CONN_EOF_SEEN), force connection closing after reading all the data
in the socket buffer. In this case we can close() after the first short read
and we save an extra system call (a read() that returns 0).
(cherry picked from commit 28e313250503d6f8d06ebab15c8421c40e7f0fe4)
---
tcp_read.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tcp_read.c b/tcp_read.c
index d201765..9015a8b 100644
--- a/tcp_read.c
+++ b/tcp_read.c
@@ -970,13 +970,13 @@ again:
con, con->id, atomic_get(&con->refcnt));
goto read_error;
}
+ read_flags=((
#ifdef POLLRDHUP
- read_flags=(((events & POLLRDHUP) |
+ (events & POLLRDHUP) |
+#endif /* POLLRDHUP */
+ (events & (POLLHUP|POLLERR)) |
(con->flags & (F_CONN_EOF_SEEN|F_CONN_FORCE_EOF)))
&& !(events & POLLPRI))? RD_CONN_FORCE_EOF: 0;
-#else /* POLLRDHUP */
- read_flags=0;
-#endif /* POLLRDHUP */
resp=tcp_read_req(con, &ret, &read_flags);
if (unlikely(resp<0)){
read_error: