Read and Write timeouts?
Author: aathanCreated Nov 21, 2022Updated Apr 3, 2024
Labelsquestion
The follow is not clear from the documentation and not immediately apparent in the code:
Does this ws library respect the HttpServer WriteTimeout & other timeouts set on the writer that is upgraded to a gobwas/ws ?
If not, can this be added as a feature? Implementing timeouts externally is possible but wordy.
E.g. Specifically if WriteServerMessage() is called, will it block forever if the underlying transport is blocked?
Source: gobwas/ws