mirror of
https://github.com/square/okhttp.git
synced 2026-01-14 07:22:20 +03:00
Shutdown the executor upon close or failure. This avoids the program hanging after finished the execution. Set the client read timeout to 0 (the default timeout is 10s). A read timeout doesn't make sense for a WebSocket.