BOSH terminate bug

when I terminate a BOSh session then Openfire does not include the type=‘terminate’ in the 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

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’/>

Thanks for the detailed report, I have filed this as: OF-514