Increase buffer size for routing headers. When routing with enc.keys within

route headers, we're reaching the limimt for what's possible in one UDP packet...



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Olle Johansson 19 years ago
parent a58afaa03b
commit c6ab7e7164

@ -5149,7 +5149,7 @@ static int copy_via_headers(struct sip_pvt *p, struct sip_request *req, const st
/*! \brief Add route header into request per learned route */
static void add_route(struct sip_request *req, struct sip_route *route)
{
char r[BUFSIZ], *p;
char r[BUFSIZ*2], *p;
int n, rem = sizeof(r);
if (!route)

Loading…
Cancel
Save