Skip to content

Commit 5f6a687

Browse files
committed
Increase maximum size of custom headers in SIP plugin even more (see #3459)
1 parent 5f4fa0c commit 5f6a687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/janus_sip.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ static void janus_sip_parse_custom_headers(json_t *root, char *custom_headers, s
16381638
iter = json_object_iter_next(headers, iter);
16391639
continue;
16401640
}
1641-
char h[1024];
1641+
char h[2048];
16421642
g_snprintf(h, sizeof(h), "%s: %s", key, json_string_value(value));
16431643
JANUS_LOG(LOG_VERB, "Adding custom header, %s\n", h);
16441644
janus_strlcat(custom_headers, h, size - 2);

0 commit comments

Comments
 (0)