wrk icon indicating copy to clipboard operation
wrk copied to clipboard

How to detect socket timeout?

Open taoxinyi opened this issue 3 years ago • 0 comments

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.

taoxinyi avatar Dec 25 '20 05:12 taoxinyi