We're updating the issue view to help you get more done. 

BOSH terminate stanza needs terminate attribute

Description

when I terminate a BOSh session then Openfire does not include the type='terminate' in the <body/> which it should according to the XEP 0124.
This causes problems with software that expect the terminate in the response.

Client sends:
POST /webclient HTTP/1.1
Host: httpcm.example.com
Accept-Encoding: gzip, deflate
Content-Type: text/xml; charset=utf-8
Content-Length: 153

<body rid='1249243565'
sid='SomeSID'
type='terminate'
xmlns='http://jabber.org/protocol/httpbind'>
<presence type='unavailable'
xmlns='jabber:client'/>
</body>

server should responds:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 72

<body type='terminate'
xmlns='http://jabber.org/protocol/httpbind'/>

Environment

None

Acceptance Test - Entry

None

Activity

Show:
Tom Evans
October 25, 2012, 8:25 PM

Updated HttpBindServlet to add type attribute for session termination requests (13323)

Assignee

Tom Evans

Reporter

Daryl Herzmann

Labels

None

Expected Effort

None

Components

Fix versions

Affects versions

Priority

Major
Configure