Open GoogleCodeExporter opened 8 years ago
Do you mean something like this?
http://msdn.microsoft.com/en-us/library/lync/bb758977%28v=office.12%29.aspx
Or do you rather mean a self-implemented way to count and restrict connections?
In the latter case, what would be the desired behaviour if a connection is
being refused? The current, implementation (commented out) sleeps 100 ms until
there are free "slots".
Original comment by satiaher...@gmx.de
on 8 Apr 2013 at 5:55
The latter. I'm not sure exactly what the current implementation does, but the
idea is probably just so the local proxy doesn't get overwhelmed. Later on we
may look at something a bit fancier.
Original comment by shouldab...@gmail.com
on 8 Apr 2013 at 6:22
Connection Management for Local Proxy
Very simple connection count and denial in the local proxy. If there are more
than 50 active requests, the RCLocalProxy waits repeatedly 100 ms, until there
is a free slot
before it listens on the port again. Needed to ad a method for in- and
decrement the value thread safe before and after handling the request.
The MAXIMUM_ACTIVE_REQUESTS should be moved to the configuration file?
Original comment by satiaher...@gmx.de
on 10 Apr 2013 at 5:23
Yes, that seems appropriate for now.
Original comment by shouldab...@gmail.com
on 18 Apr 2013 at 11:48
I will move it into the config file.
Original comment by satiaher...@gmx.de
on 21 Apr 2013 at 10:36
Moved to the config file.
Original comment by satiaher...@gmx.de
on 21 Apr 2013 at 6:38
Original comment by satiaher...@gmx.de
on 1 May 2013 at 10:53
Original comment by satiaher...@gmx.de
on 1 May 2013 at 10:54
Original issue reported on code.google.com by
shouldab...@gmail.com
on 10 Oct 2010 at 7:13