[asterisk-commits] trunk r36839 - in /trunk: ./ channels/chan_sip.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jul 3 08:10:23 MST 2006
Author: oej
Date: Mon Jul 3 10:10:22 2006
New Revision: 36839
URL: http://svn.digium.com/view/asterisk?rev=36839&view=rev
Log:
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...
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-blocked' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=36839&r1=36838&r2=36839&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jul 3 10:10:22 2006
@@ -5149,7 +5149,7 @@
/*! \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)
More information about the asterisk-commits
mailing list