dkuppitz / rexpro-client

RexPro Client for .NET
Other
10 stars 4 forks source link

Added support for custom TcpClients #5

Closed zachkinstner closed 11 years ago

zachkinstner commented 11 years ago

This allows a RexProClient user to supply their TcpClients from a connection pool and/or apply their own connection settings.

All 27 tests pass. I didn't add any tests for this, but I did give it some successful trial runs in my Fabric project.

zachkinstner commented 11 years ago

Hmm, this probably needs more work. There should be way to avoid closing the connection of a custom TCP client, so it could be reused in a connection pool.

dkuppitz commented 11 years ago

The idea behind closing the connection for non-session requests: You'll probably have a load balancer in production environments. The load balancer can't do its job when you don't close the connection.