AidasOzelis
Hi,
We have two connections to the same adapter set in one application. First connection allways connects in a push mode (isPolling = false), second one usually in a polling mode, but sometimes it is able to connect in push mode as well. Is there a way to force the connection to connect in a push mode?
Thanks.
Dario Crivelli
The .NET environment might be using a connection pool for HTTP requests of just 2 connections.
This would be OK for managing a single session;
however, with more than one session, some requests might be delayed and the Server might recover from the delays by resorting to polling.
Can you inspect in some way which is the connection pool size on your client? We could also try to find some evidence of that by analyzing the Server log, with the LightstreamerLogger.connections category set as INFO level.
Dario Crivelli
Connection pool management methods seems to be hidden under the System.Net.ServicePoint class.
Alessandro Alinone
@Aidas, Could you please shed some light on why you need to create two sessions from the same client? I can't imagine any obvious reason to do that.
AidasOzelis
Alessandro, this is for our intergration tests, we are testing snapshot updates for our data providers.