- 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:
@@ -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)
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user