Right now client just uses a shallow-copy of the opts used to create it. If a user calls a Set method on the opts reference, they can probably break any client that was used to create it. The easy fix is to create a deep copy of opts during creation of the client object.
Right now client just uses a shallow-copy of the opts used to create it. If a user calls a Set method on the opts reference, they can probably break any client that was used to create it. The easy fix is to create a deep copy of opts during creation of the client object.