diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-06 20:25:45 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-06 20:25:45 -0700 |
| commit | 1700a4a9090789d485c190c2a6ccd2c48986f5dd (patch) | |
| tree | 2619d9c8f00f83d76e9cc5c2c00a65f2ed21788d /examples/05_command_framework | |
| parent | Make client starts return an error (diff) | |
| download | serenity-1700a4a9090789d485c190c2a6ccd2c48986f5dd.tar.xz serenity-1700a4a9090789d485c190c2a6ccd2c48986f5dd.zip | |
Ws read/write timeout after 90s
Make read/writes to the stream timeout after 90 seconds to prevent a
potentially infinitely blocked call.
If the timeout is reached, perform a reconnect.
This fixes issues such as intermittent internet issues causing a message
to never be received, and thus infinitely blocking.
Diffstat (limited to 'examples/05_command_framework')
0 files changed, 0 insertions, 0 deletions