Results 1 to 10 of 10

Thread: Disconection

Hybrid View

  1. #1
    I'd like to add our Apache proxy reverse configuration:

    ProxyRequests Off

    # Turn off VIA header as we know where the requests are proxied
    ProxyVia Off
    ProxyPreserveHost On

    # Set the permissions for the proxy
    <Proxy *>
    AddDefaultCharset off
    Order deny,allow
    Allow from all
    </Proxy>

    ProxyPass /lightstreamer http://localhost:9080/lightstreamer

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Hello,
    The log helped us to clarify the scenario.
    Since the rebinds occur every minute and the flow of updates is significant, this is consistent with the Server behavior.
    Actually, I was wrong when hinting that chunked responses were not limited in size. Sorry for that.
    In fact, the <content_length> setting in the configuration file, which is currently 4000000, is also enforced to chunked responses.
    This is done in order to avoid that some user-agent or network intermediary tries to buffer the whole response and runs into problems if the response is too long.

    You can modify and enlarge the <content_length> setting. We don't support unlimited lengths, but you can set a very high value (up to the size of a Java "long").
    Even better, you can override the setting only for your C++ client. The client would just add the LS_content_length=xxxx parameter to the querystring, with a proper length.
    As said, you should also ensure that your Apache reverse proxy does not cache the responses, although this is probably already ensured, because the Server response headers require so.

 

 

Tags for this Thread

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 07:20 AM.