Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2010
    Location
    San Francisco
    Posts
    16

    What does this message actually mean? Content length setting too small

    Content length setting of 500000 too small even for a single event; using 3047883

    Thanks,
    Dan

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi BKnight,

    The message states that the Lighstreamer server needs to send to a client an UpdateEvent larger that the max content length chosen for the streaming connection in use (500000 is the defualt value).
    In this case the server proceeds with a larger HTTP content-length; in your case 3047883.

    You can configure the content length both on the server side, in the <content_length> section of lightstreamer_conf.xml configuration file, and on client side, please refer to specific API reference. In case of a different value is requested by a client the server choose the lowest.

    But please consider that a single event of 3047883 bytes is quite unusual, could you confirm that you do not have the possibility to reduce the size? Maybe you are transferring an binary object encoded?
    Furthermore please note that the problems with the content length are excluded in the case of use of WebSockets.

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 0
    Last Post: January 22nd, 2013, 12:49 PM
  2. status change when the content length is reached
    By riwang in forum Client SDKs
    Replies: 3
    Last Post: May 21st, 2009, 10:37 AM
  3. IE8 shows a small window
    By markgoldin in forum Client SDKs
    Replies: 5
    Last Post: September 26th, 2008, 12:28 PM
  4. Get <WARN> message: Reply too late.
    By aikobit in forum Adapter SDKs
    Replies: 9
    Last Post: July 8th, 2008, 02:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:20 PM.