Opened 13 years ago

Last modified 10 years ago

#6156 closed defect

cometd client and IE url limit to 2083 bytes — at Initial Version

Reported by: guest Owned by: Adam Peller
Priority: high Milestone: 1.7
Component: DojoX Cometd Version: 1.1b1
Keywords: cometd ie url limit Cc: Greg Wilkins
Blocked By: Blocking:

Description

Due to IE "feature" of not allowing more than 2083 bytes in URL ( http://support.microsoft.com/default.aspx?scid=KB;en-us;q208427 ), more subscriptions in a batch do not get send to the cometd server (confirmed by wireshark). No javascript error is reported.

dojo is: nightly build as of 2008-02-22, cometd server is pyton twisted cometd, IE is 6 and 7 (both have this kind of limit).

function init_comet(s_comet_url, a_groups, a_queues) {
    dojox.cometd.init(s_comet_url);
    console.info("VCCE COMET initialized started");
    dojox.cometd.subscribe("/vcce/bulletin/global", bulletin_notification, "notify");
    for ( var i_g in a_groups ) {
        dojox.cometd.subscribe("/vcce/bulletin/" + i_g, bulletin_notification, "notify");
    }
    dojox.cometd.subscribe("/vcce/topmenu", topmenu_notification, "notify");
    dojox.cometd.subscribe("/vcce/queue/global", queue_notification, "notify");
    for ( var i_q in a_queues ) {
        dojox.cometd.subscribe("/vcce/queue/" + i_q, queue_notification, "notify");
    }
    console.info("VCCE COMET initialized ended");
}

a_groups and a_queues have together ~10 elements.

Workaround would probably be to split subscriptions to more that one transport message. or (ugly) to add flush method.

Change History (1)

Changed 13 years ago by guest

Attachment: cometd_base.patch added

cometd base patch

Note: See TracTickets for help on using tickets.