[Pidgin] #15528: BOSH http parser does not appear to check the Content-Length header
Pidgin
trac at pidgin.im
Sat Feb 23 20:41:38 EST 2013
#15528: BOSH http parser does not appear to check the Content-Length header
--------------------+--------------------
Reporter: Zash | Owner: deryni
Type: defect | Status: new
Milestone: | Component: XMPP
Version: 2.10.3 | Keywords: bosh
--------------------+--------------------
Due to an issue with pipelining, we discovered that when two HTTP
responses are sent at the same time, Pidgin sees this as one response.
Particularly when keep-alive kicks in.
Debug log looks like this:
{{{
(02:36:33) jabber: RecvBOSH (325): <body
xmlns:stream='http://etherx.jabber.org/streams' xmpp:version='1.0'
xmlns:xmpp='urn:xmpp:xbosh' inactivity='60' requests='2' polling='5'
secure='true' hold='1' ver='1.6'
authid='63cd70ac-4493-4cc3-92e2-2aad7daeb755'
wait='60' sid='63cd70ac-4493-4cc3-92e2-2aad7daeb755'
xmlns='http://jabber.org/protocol/httpbind'></body>HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: text/xml; charset=utf-8
Content-Length: 453
<body xmlns:stream='http://etherx.jabber.org/streams' xmpp:version='1.0'
xmlns:xmpp='urn:xmpp:xbosh' inactivity='60' requests='2' polling='5'
secure='true' hold='1' ver='1.6'
authid='63cd70ac-4493-4cc3-92e2-2aad7daeb755'
wait='60' sid='63cd70ac-4493-4cc3-92e2-2aad7daeb755'
xmlns='http://jabber.org/protocol/httpbind'>
<iq id='purpled3129304' type='result' to='user at host/Pidgin'
xmlns='jabber:client'/>
</body>
}}}
''lines broken for less scrolling''
--
Ticket URL: <https://developer.pidgin.im/ticket/15528>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list