- Don't abort RTP streams on ENOBUFS (Internet upstream

saturated and a Packet is dropped)
- Bulding on OpenBSD (missing header)
This commit is contained in:
Thomas Ries
2009-02-11 21:28:52 +00:00
parent 605bcb2f09
commit f8343b33e5
8 changed files with 17 additions and 2 deletions
+2
View File
@@ -1,5 +1,7 @@
0.7.2
=====
11-Feb-2009: - Don't abort RTP streams on ENOBUFS (Internet upstream
saturated and a Packet is dropped)
24-Jan-2009: - fixed an issue with RTP timeouts (on calls with multiple
media streams an timeout on one single stream would
cancel all streams in the end. Seen with X-Lite UAs)
+1
View File
@@ -22,6 +22,7 @@
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+1
View File
@@ -22,6 +22,7 @@
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+1
View File
@@ -22,6 +22,7 @@
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+1
View File
@@ -22,6 +22,7 @@
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+2
View File
@@ -23,6 +23,8 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+1
View File
@@ -20,6 +20,7 @@
#include "config.h"
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
+8 -2
View File
@@ -345,7 +345,10 @@ static void *rtpproxy_main(void *arg) {
count, 0, (const struct sockaddr *)&dst_addr,
(socklen_t)sizeof(dst_addr));
if (sts == -1) {
if (errno != ECONNREFUSED) {
/* ECONNREFUSED: Got ICMP destination unreachable
* ENOBUFS: Full TX queue, packet dropped (FreeBSD for example)
*/
if ((errno != ECONNREFUSED) && (errno != ENOBUFS)){
osip_call_id_t callid;
ERROR("sendto() [%s:%i size=%i] call failed: %s",
@@ -379,7 +382,10 @@ static void *rtpproxy_main(void *arg) {
count, 0, (const struct sockaddr *)&dst_addr,
(socklen_t)sizeof(dst_addr));
if (sts == -1) {
if (errno != ECONNREFUSED) {
/* ECONNREFUSED: Got ICMP destination unreachable
* ENOBUFS: Full TX queue, packet dropped (FreeBSD for example)
*/
if ((errno != ECONNREFUSED) && (errno != ENOBUFS)){
osip_call_id_t callid;
ERROR("sendto() [%s:%i size=%i] call failed: %s",