wrk
wrk copied to clipboard
How to detect socket timeout?
In the document it says
--timeout <T> Socket/request timeout
However, in https://github.com/wg/wrk/blob/0896020a2a28b84b1150e9b60933b746fe1dc761/src/wrk.c#L345 it appears it only increments timeout when it receives an HTTP response instead of also adding it when there is a socket timeout. Also I wonder whether there is a socket timeout that respects our timeout setting or not.