[httperf] Re: --server-name doesn't work for me

lawrence wang levity at gmail.com
Wed Jan 18 12:20:38 PST 2006


It looks like the feature was never implemented! I got it working by
changing lines 973-974 of conn.c from

      call->req.iov[IE_HOST].iov_base = (caddr_t) conn->hostname;
      call->req.iov[IE_HOST].iov_len = conn->hostname_len;

to

      call->req.iov[IE_HOST].iov_base = (caddr_t) conn->fqdname;
      call->req.iov[IE_HOST].iov_len = conn->fqdname_len;

--Lawrence Wang



More information about the httperf mailing list