[sr-dev] git:master:0c91f8cb: core: new global parameter sip_parser_mode

Daniel-Constantin Mierla miconda at gmail.com
Sat Oct 10 12:10:09 CEST 2020


Module: kamailio
Branch: master
Commit: 0c91f8cbe756133761886e9e22f2c10e51737e90
URL: https://github.com/kamailio/kamailio/commit/0c91f8cbe756133761886e9e22f2c10e51737e90

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-10-10T11:20:48+02:00

core: new global parameter sip_parser_mode

- allow to control how sip parser behaves
- 0 - be less restrictive, to support more protocols
- 1 - be more strict on sip headers checks
- default 1

---

Modified: src/core/cfg.lex
Modified: src/core/cfg.y
Modified: src/core/globals.h
Modified: src/core/parser/msg_parser.c
Modified: src/core/parser/msg_parser.h

---

Diff:  https://github.com/kamailio/kamailio/commit/0c91f8cbe756133761886e9e22f2c10e51737e90.diff
Patch: https://github.com/kamailio/kamailio/commit/0c91f8cbe756133761886e9e22f2c10e51737e90.patch




More information about the sr-dev mailing list