mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
allow duplicate headers to be parsed into events received on the wire
This commit is contained in:
parent
fb5f29c2fb
commit
2b7a830d6d
@ -1180,7 +1180,6 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event,
|
||||
}
|
||||
}
|
||||
if (var && val) {
|
||||
switch_event_del_header(*event, var);
|
||||
switch_event_add_header_string(*event, SWITCH_STACK_BOTTOM, var, val);
|
||||
if (!strcasecmp(var, "content-length")) {
|
||||
clen = atoi(val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user