osip-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

One empty line too much before multipart-body?


From: Roger Schreiter
Subject: One empty line too much before multipart-body?
Date: Tue, 16 Jan 2024 02:02:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1

Hello,

when generating a SIP request including a multipart body, I can see 2 empty lines between header and body, i.e. a series of 3 times CRLF.

Imho 2x CRLF would be correct, which is 1 empty line between header and body.

May anyone have a look into the attached diff file for
libosip2-5.3.1/src/osipparser2/osip_message_to_str.c
which imho solves the problem and generates the correct request.

Regards, Roger.

-- 
Roger Schreiter
Lutherstr. 9
D-71576 Burgstetten
Tel.: +49 7191 8929678

Attachment: osip_message_to_str.c_diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]