bengadbois / pewpew

Flexible HTTP command line stress tester for websites and web services
MIT License
419 stars 40 forks source link

dns-prefetch does not work when ports are specified #31

Closed adamgibbins closed 6 years ago

adamgibbins commented 6 years ago

How do you create the issue, and how reproducible is it? (show the full command)

% ./pewpew stress --dns-prefetch 'http://production-something-003.mgmt.pg.net.local:8000/blah'
Error: failed to create request with target configuration: failed to prefetch host production-something-003.mgmt.pg.net.local:8000
Usage:
  pewpew stress URL... [flags]

Yet works fine without --dns-prefetch

What version of pewpew are you running?

0.3.2

Did you compile pewpew yourself, or use a prebuilt version?

Prebuilt release from GitHub.