title: default size of Event-Server messages between nodejs and browser
body: <p>I use Event-Server/EventSource mechanism between nodejs &quot;http&quot; server and Chrome browser.</p>
  <p>I have switched from WebSocket to Event-Server mechanism, because I exchange a lot of data (Distance &amp; Angle detections from a Lidar, so 360 set of data {angle, distance}, 10 times each second in JSON/string format, between acquisition application and display on the Browser.</p>
  <p>I had no problem to send data with Websocket, but it seem that Event-Server mechanism lost big messages like above.
  When I answer to Event-Server request, I doesn't set specific information in http-header, except:</p>
  <pre><code>    'Content-Type': 'text/event-stream',
      Connection: 'keep-alive',
      'Cache-Control': 'no-cache',    
  </code></pre>
  <ul>
  <li><p>Is there a default maximum size of message in http answer ?</p>
  </li>
  <li><p>How to increase this limit ?</p>
  </li>
  <li><p>or do I need to 'write' data block-by-block ?</p>
  <p>let jsn = [ { angle: 0, distance: 250}, { angle: 2, distance: 253}, { angle: 3, distance: 255},...];</p>
  <p>this.response.write( <code>data: ${JSON.stringify(jsn)}\n\n</code>);</p>
  </li>
  </ul>
  <p>Best regards.</p>