Opened 14 years ago

Closed 14 years ago

#1264 closed patch (fixed)

Only attempt to decode the first line of a SIP message once

Reported by: russelb@… Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythphone Version: head
Severity: low Keywords:
Cc: Ticket locked: no


SipMsg::decode() first calls decodeRequestLine() to parse the first line of a SIP message. Then, it iterates through each line and calls decodeLine() on them to parse the rest of the message. This patch removes the unnecessary call of decodeLine() on the first line of the message.

I am also available on IRC as "drumkilla".

Attachments (1)

sipmsg_decode.patch (728 bytes) - added by russelb@… 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by russelb@…

Attachment: sipmsg_decode.patch added

comment:1 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [8986]) Minor opt to SipMsg::decode, closes #1264.

Note: See TracTickets for help on using tickets.