Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: memset 0 the struct in first line parsing; split type and flags
- initialize to 0 first line struct msg_start_t in parse_first_line() - split field int type in short type and short flags to be able to store more info about first line without changes in other places of existing code - set in flags if the protocol in first line is sip or http - useful to avoid string comparison whenever needed to get the two very used protocols
- Loading branch information
Showing
2 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters