浏览代码

rtpproxy-ng: increase the receive buffer size to 64k

Richard Fuchs 11 年之前
父节点
当前提交
e8f26d65d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/rtpproxy-ng/rtpproxy.c

+ 1 - 1
modules/rtpproxy-ng/rtpproxy.c

@@ -1468,7 +1468,7 @@ send_rtpp_command(struct rtpp_node *node, bencode_item_t *dict, int *outlen)
 	struct sockaddr_un addr;
 	int fd, len, i, vcnt;
 	char *cp;
-	static char buf[4096];
+	static char buf[0x10000];
 	struct pollfd fds[1];
 	struct iovec *v;