giltene / wrk2

A constant throughput, correct latency recording variant of wrk
Apache License 2.0
4.27k stars 390 forks source link

issue on osx: Host header is missing from generated http requests #9

Open blevonius opened 9 years ago

blevonius commented 9 years ago

I tried setting the wrk.host and wrk.port explicitly in lua but still doesn't work.

thommahoney commented 4 years ago

Sorry to revive an old thread. I'm unsure if this was the cause of the bug that spawned this issue but I did experience the same behavior with wrk2 v4.0.0 as well. Setting both wrk.host and work.headers["Host"] resolved this for me.