This simplifies how the default-dialer works by removing the functionality for context-cancelling on the enigma-end.
The package we're using for websockets and their dependencies (the standard libraries net and net/http) use contexts correctly.
The simplification also ensures that the context is passed correctly with DialContext which enables the use of httptrace.ClientTrace - a valuable tool for debugging.
This simplifies how the default-dialer works by removing the functionality for context-cancelling on the enigma-end. The package we're using for websockets and their dependencies (the standard libraries
net
andnet/http
) use contexts correctly.The simplification also ensures that the context is passed correctly with
DialContext
which enables the use ofhttptrace.ClientTrace
- a valuable tool for debugging.