Ticket #38 (closed defect: worksforme)

Opened 2 years ago

Last modified 5 months ago

http-binding method doesn't respect XEP 0124

Reported by: tito Owned by: zeank
Priority: normal Milestone: jsjac-1.3
Component: jsjac Version: 1.3
Severity: critical Keywords:
Cc:

Description

Hi everyone,

http-binding methode don't respect XEP 0124. If someone send message to quickly, we can get kicked by server.

JsJAC need to respect the polling attribute from the first body response by jabber server. As XEP 0124 said :

The <body/> element SHOULD also include the following attributes (they SHOULD NOT be included in any other responses):
(...)
    * 'polling' -- This attribute specifies the shortest allowable polling interval (in seconds). This enables the client to not send empty request elements more often than desired (see Polling Sessions and Overactivity).

++tito;

Change History

Changed 2 years ago by zeank

  • status changed from new to closed
  • resolution set to worksforme

Sorrry, but what makes you think JSJaC doesn't respect this attribute? If in polling mode, JSJaC actually does respect it, if not in polling mode this rule does not apply.

Note: See TracTickets for help on using tickets.