Hi,
I have added the request sent and received from bosh server, I was trying to connect a user using bosh(http-bind).
Everything is working fine according to xep0206 document but after creating the session I restart the connect
the stanz is given below at step 2, the payload that I receive from the server ask to bind the resource
this is ok but it also ask for a session! I dont understand and it is not in the xep0206 or xep1024 document.
Help me?
##################### 0 #########################
Client_request:
payload:stream:featuresDIGEST-MD5PLAINCRAM-MD5zlib</stream:features>
#################### 1 #########################
Client_request:<body rid="4523" sid="539b44c9" xmlns="http://jabber.org/protocol/httpbind"><auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">AGhhd2t3aW5zAGhhd2t3aW5z</auth></body>
---
payload:<body xmlns='http://jabber.org/protocol/httpbind'><success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/></body>
---
#################### 2 #########################
Client_request:<body rid='4524' sid='539b44c9' xmlns='http://jabber.org/protocol/httpbind' to='192.168.1.2' xmpp:restart='true' xmlns:xmpp='urn:xmpp:xbosh'/>
---
payload:<body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams"><stream:features><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features></body>
---
#################### 3 #########################
Client_request:<body rid="4525" sid="539b44c9" xmlns="http://jabber.org/protocol/httpbind"><iq type="set" id="7"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><resource>hawk1298426523</resource></bind></iq></body>
---
payload:<body xmlns='http://jabber.org/protocol/httpbind'><iq type="result" id="7" to="127.0.0.1/539b44c9"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>hawkwins@127.0.0.1/hawk1298426523</jid></bind></iq></body>
---