See:
http://wiki.xmpp.org/web/BoshIssues#Session_Termination_and_Sending_BOSH_Errors
Signed-off-by: Winfried Tilanus <winfr...@tilanus.com>
---
 extensions/xep-0124.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/xep-0124.xml b/extensions/xep-0124.xml
index 214c61c..da07f32 100644
--- a/extensions/xep-0124.xml
+++ b/extensions/xep-0124.xml
@@ -581,7 +581,7 @@ Content-Length: 68
     <p>Note: If the connection manager did not specify a 'polling' attribute 
in the session creation response, then it MUST allow the client to poll as 
frequently as it chooses.</p>
   </section1>
   <section1 topic='Terminating the BOSH Session' anchor='terminate'>
-    <p>At any time, the client MAY gracefully terminate the session by sending 
a &lt;body/&gt; element with a 'type' attribute set to "terminate". The 
termination request MAY include one or more payloads that the connection 
manager MUST forward to the server to ensure graceful logoff.</p>
+    <p>At any time, the client MAY gracefully terminate the session by sending 
a &lt;body/&gt; element with a 'type' attribute set to "terminate". The 
termination request MAY include one or more payloads that the connection 
manager MUST forward to the server to ensure graceful logoff. The payload in 
the termination request SHOULD NOT need any response from the server.</p>
     <example caption="Session termination by client">
 <![CDATA[POST /webclient HTTP/1.1
 Host: httpcm.example.com
@@ -596,7 +596,7 @@ Content-Length: 153
   <presence type='unavailable'
             xmlns='jabber:client'/>
 </body>]]></example>
-    <p>The connection manager SHOULD respond to this request with an HTTP 200 
OK containing an empty &lt;body/&gt; element.</p>
+    <p>The connection manager SHOULD respond to this request with an HTTP 200 
OK containing an empty &lt;body/&gt; element. The connection manager SHOULD 
acknowledge the session termination on the oldest connection with a HTTP 200 OK 
containing a &lt;body/&gt; element of the type 'terminate'. On all other open 
connections, the connection manager SHOULD respond with an HTTP 200 OK 
containing an empty &lt;body/&gt; element.</p>
       <example caption="Connection manager acknowledges termination">
 <![CDATA[HTTP/1.1 200 OK
 Content-Type: text/xml; charset=utf-8
-- 
1.8.5.2

Reply via email to