Openfire

Polling Interval Improperly Checked When Creating new Connection

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Acceptance Test - Add?:
    No
  • Description:
    Hide

    According to the spec: http://www.xmpp.org/extensions/xep-0124.html#poll

    "It may not be possible for a constrained client to either use HTTP Pipelining or open more than one HTTP connection with the connection manager at a time. In this case the client SHOULD inform the connection manager by setting the values of the 'wait' and/or 'hold' attributes in its session creation request to "0", and then "poll" the connection manager at regular intervals throughout the session for stanzas it may have received from the server. Note: Even if the client does not request a polling session then the connection manager MAY require a client to use polling by setting the 'requests' attribute (which specifies the number of simultaneous requests the client may make) of its Session Creation Response to "1", however this is NOT RECOMMENDED."

    In other words, the http session should be determined to be a polling session if the wait and or hold attributes are set to '0'. Only at this point should the session be considered a polling one and the polling interval enforced.

    Show
    According to the spec: http://www.xmpp.org/extensions/xep-0124.html#poll "It may not be possible for a constrained client to either use HTTP Pipelining or open more than one HTTP connection with the connection manager at a time. In this case the client SHOULD inform the connection manager by setting the values of the 'wait' and/or 'hold' attributes in its session creation request to "0", and then "poll" the connection manager at regular intervals throughout the session for stanzas it may have received from the server. Note: Even if the client does not request a polling session then the connection manager MAY require a client to use polling by setting the 'requests' attribute (which specifies the number of simultaneous requests the client may make) of its Session Creation Response to "1", however this is NOT RECOMMENDED." In other words, the http session should be determined to be a polling session if the wait and or hold attributes are set to '0'. Only at this point should the session be considered a polling one and the polling interval enforced.

Issue Links

Activity

Alex Wenckus made changes - 01/15/08 07:55 PM
Field Original Value New Value
Description According to the spec: http://www.xmpp.org/extensions/xep-0124.html#poll

{quote}
It may not be possible for a constrained client to either use HTTP Pipelining or open more than one HTTP connection with the connection manager at a time. In this case the client SHOULD inform the connection manager by setting the values of the 'wait' and/or 'hold' attributes in its session creation request to "0", and then "poll" the connection manager at regular intervals throughout the session for stanzas it may have received from the server. Note: Even if the client does not request a polling session then the connection manager MAY require a client to use polling by setting the 'requests' attribute (which specifies the number of simultaneous requests the client may make) of its Session Creation Response to "1", however this is NOT RECOMMENDED.
{quote}

In other words, the http session should be determined to be a polling session if the wait and or hold attributes are set to '0'. Only at this point should the session be considered a polling one and the polling interval enforced.
According to the spec: http://www.xmpp.org/extensions/xep-0124.html#poll

"It may not be possible for a constrained client to either use HTTP Pipelining or open more than one HTTP connection with the connection manager at a time. In this case the client SHOULD inform the connection manager by setting the values of the 'wait' and/or 'hold' attributes in its session creation request to "0", and then "poll" the connection manager at regular intervals throughout the session for stanzas it may have received from the server. Note: Even if the client does not request a polling session then the connection manager MAY require a client to use polling by setting the 'requests' attribute (which specifies the number of simultaneous requests the client may make) of its Session Creation Response to "1", however this is NOT RECOMMENDED."

In other words, the http session should be determined to be a polling session if the wait and or hold attributes are set to '0'. Only at this point should the session be considered a polling one and the polling interval enforced.
Assignee Gaston Dombiak [ gaston ] Alex Wenckus [ alex ]
Alex Wenckus made changes - 01/15/08 07:56 PM
Link This issue is related to JM-1033 [ JM-1033 ]
Daryl Herzmann made changes - 01/11/10 04:02 PM
Key JM-1245 OF-228
Project Openfire (ARCHIVED) [ 10010 ] Openfire [ 10140 ]

People

Dates

  • Created:
    01/15/08 07:55 PM
    Updated:
    01/11/10 04:02 PM