Skip to content

Commit

Permalink
Increase maximum size of custom headers in SIP plugin even more (see #…
Browse files Browse the repository at this point in the history
lminiero committed Oct 23, 2024
1 parent 5f4fa0c commit 5f6a687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/janus_sip.c
Original file line number Diff line number Diff line change
@@ -1638,7 +1638,7 @@ static void janus_sip_parse_custom_headers(json_t *root, char *custom_headers, s
iter = json_object_iter_next(headers, iter);
continue;
}
char h[1024];
char h[2048];
g_snprintf(h, sizeof(h), "%s: %s", key, json_string_value(value));
JANUS_LOG(LOG_VERB, "Adding custom header, %s\n", h);
janus_strlcat(custom_headers, h, size - 2);

0 comments on commit 5f6a687

Please sign in to comment.