Closed zachkinstner closed 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.
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.
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.