Ticket #6156 (reopened defect)
[patch][no cla]cometd client and IE url limit to 2083 bytes
| Reported by: | Krunoslav Pisacic | Owned by: | gregw |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | DojoX Cometd | Version: | 1.1b1 |
| Severity: | normal | Keywords: | cometd ie url limit |
| Cc: | gregw |
Description (last modified by peller) (diff)
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.