Actually, Cygwin has libev and nghttp2 packages now. So, you can use h2load feature even if you don’t build nghttp2 by yourself. Nevertheless, if you build nghttp2 on Cygwin, you need to build the Jansson and the spdylay before building it because Cygwin doesn’t have their packages. But, according to the current trend, I think you don’t need the spdylay package. (2016.6.18)
—————————————————————————————————————————————————
libev-4.22.tar.gz and nghttp2-1.6.0.tar.xz were released, so I re-built h2load on Cygwin. If you haven’t read ‘Building h2load on Cygwin‘, read the post first before your building h2load.
If you want to have Web server bench by h2load.exe only, download H2LOAD_dll_package_x86.zip or H2LOAD_dll_package_x64.zip. Each zip file contains ten files.
- cygcrypto-1.0.0.dll
- cyggcc_s-1.dll (for x86) cyggcc_s-seh-1.dll (for x64)
- cygssl-1.0.0.dll
- cygsspdylay-7.dll
- cygstdc++-6.dll
- cygwin1.dll
- cygz.dll
- cygev-4.dll
- cygnghttp2-14.dll
- h2load.exe
#1 – #7 are the same files which are included in the old zips, and #8 – #10 are new files.
If you want to build h2load.exe, you need cygport and patch files (libev-4.22-1bl1.cygport, libev-4.22-1bl1.src.patch, nghttp2-1.6.0-1bl1.cygport, nghttp2-1.6.0-1bl1.src.patch). You might have a 403 error when you download these files by Wget. If so, use a Web browser or impersonate your Wget user agent by editing /etc/wgetrc.