How to prevent net::ERR_INCOMPLETE_CHUNKED_ENCODING when using HTML5 Server events and Java Servlets?

后端 未结 2 1957
死守一世寂寞
死守一世寂寞 2021-02-20 10:31

i just started to play around with Server Events and i run into a chrome error message i would like to understand. i searched the web real quick but didn\'t find an explanation

2条回答
  •  Happy的楠姐
    2021-02-20 10:55

    You can send small "no operation" (noop) chunks to keep the connection alive every 10 seconds or so.

提交回复
热议问题