[Pidgin] #965: SIMPLE Messages truncate the last 2 characters because they have the wrong content length
Pidgin
trac at pidgin.im
Thu May 17 20:07:10 EDT 2007
#965: SIMPLE Messages truncate the last 2 characters because they have the wrong
content length
------------------------------+---------------------------------------------
Reporter: mdknapp | Owner: datallah
Type: defect | Status: new
Priority: minor | Milestone:
Component: winpidgin (gtk) | Version: 2.0
Resolution: | Keywords: SIMPLE SIP CONTENT SIZE
Pending: 0 |
------------------------------+---------------------------------------------
Comment (by mdknapp):
The original post is a capture from ethereal running on the same system
that pidgin runs on.
If it helps, we have seen this occur sporatically in the publish, but it
also the sending of a text message (MESSAGE).
In those cases an ethereal capture running on the same system as pidgin
has the following before the body....
{{{
...
Content-Type: text/plain
Content-Length: 5\r\n
\r\n
\r\n
test2
}}}
and
{{{
Content-Length: 5
Authorization: Digest username="privat", realm="sip.private-id.com",
nonce="4647e6bcf50b09c7da679bc9b4e20257323d33ba",
uri="sip:private.privt.privt at sip.private-id.com", nc="00000001",
response="afe2269960ad364e4fc054641dd247b8"\r\n
\r\n
\r\n
test2
}}}
Those both, according to wireshark, show the the content length to leave
out the last two characters ("'''tes'''").
Instead it should be:
{{{
Content-Length: 5
Authorization: Digest username="privat", realm="sip.private-id.com",
nonce="4647e6bcf50b09c7da679bc9b4e20257323d33ba",
uri="sip:private.privt.privt at sip.private-id.com", nc="00000001",
response="afe2269960ad364e4fc054641dd247b8"\r\n
\r\n
test2
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/965#comment:5>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list