Add DialContext function to allow forced cancellations. This is useful when the r/w buffer blocks, even when the connection had succeeded. Calling the context cancel function will close the connections and its buffer, which will cause the blocked reading/writing to return an error.
Add DialContext function to allow forced cancellations. This is useful when the r/w buffer blocks, even when the connection had succeeded. Calling the context cancel function will close the connections and its buffer, which will cause the blocked reading/writing to return an error.