Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-1025

Comet push go crazy and cause bloat comet echo and Jetty complains Form too large340897>200000

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 3.7.0
    • None
    • None

      zssapp, import files: \\zssdemo2\tomcat7\webapps-8082\zssvalidator\WEB-INF\books\09232014_1924786.xlsx

      1. Select sheet "YearlyReport", client

      POST http://localhost:8080/zssapp/zkau

      — Request Form —
      dtid:z_pu10
      cmd_0:onSheetSelect
      uuid_0:l7rA21
      data_0:

      {"sheetId":"w7_sheet_4","cache":false,"row":-1,"col":-1,"left":-1,"top":-1,"right":-1,"bottom":-1,"hleft":-1,"htop":-1,"hright":-1,"hbottom":-1,"frow":-1,"fcol":-1}

      2. Then Server response client server push like crazy every 2ms
      http://localhost:8080/zssapp/zkau/comet?dtid=z_pu10

      — Response Headers —
      Content-Language:en-US
      Content-Length:0
      Server:Jetty(6.1.26)
      ZK-Comet:echo

      and step 1 has not response yet; server push run ten thousand times (on my notebook in 1.4 minutes) which accumulate a lot of zk-comet echo requst in client side.

      3. step 1 finally done and zk-comet echo accumulate a Big Form and send to server

      cmd_0: dummy
      opt_0: i

      ...
      cmd_10038: dummy
      opt_10038: i

      The server(Jetty) complains "Form too large340897>200000" and response with 500. Step 3 fail.


      Looks like that if EventQueue is under Application Scope, server will response to server push request to ALL clients without filter out the one that is doing operation and response too much zk-comet-echo request to client and cause it to death.

            henrichen henrichen
            henrichen henrichen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: