浏览代码

core/config: Increase MAX_REDIRECTION_LEN from 512 to 4096

Contacts can be long and there may be many of them.
Alex Hermann 6 年之前
父节点
当前提交
393a86f32a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/core/config.h

+ 1 - 1
src/core/config.h

@@ -166,7 +166,7 @@
 
 #define MAX_PRINT_TEXT 		256	/*!< max length of the text of fifo 'print' command */
 
-#define MAX_REDIRECTION_LEN	512	/*!< maximum length of Contact header field in redirection replies */
+#define MAX_REDIRECTION_LEN	4096	/*!< maximum length of Contact header field in redirection replies */
 
 /*! \brief used by FIFO statistics in module to terminate line;
    extra whitespaces are used to overwrite remainders of