-
August 5th, 2014, 04:24 PM
#1
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
-
August 6th, 2014, 10:13 AM
#2
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
-
By Alessandro in forum General
Replies: 0
Last Post: January 22nd, 2013, 11:49 AM
-
By riwang in forum Client SDKs
Replies: 3
Last Post: May 21st, 2009, 09:37 AM
-
By markgoldin in forum Client SDKs
Replies: 5
Last Post: September 26th, 2008, 11:28 AM
-
By aikobit in forum Adapter SDKs
Replies: 9
Last Post: July 8th, 2008, 01:57 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 10:00 AM.
Bookmarks