Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`net.{Listen, Dial}` functions does not accept context argument, but only `{ListenContext, DialContext}` counterparts do. But even those functions does not respect to context's deadline, so we need to call `SetDeadline` with passed context's deadline explicitly to ensure context's deadline is respected. --- By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. Signed-off-by: Burak Varlı <[email protected]>
- Loading branch information