haskell-hvr / uhttpc

`uhttpc` - µHTTP client library
http://hackage.haskell.org/package/uhttpc
GNU General Public License v3.0
27 stars 5 forks source link

uhttpc-bench: ssRead': end of file #3

Open ocharles opened 7 years ago

ocharles commented 7 years ago

I don't really know what this means, but:

[nix-shell:~]$ uhttpc-bench http://localhost:5811
uhttpc-bench - a Haskell-based ab/weighttp-style webserver benchmarking tool

starting benchmark...
finished in 0.000530 seconds, 1 reqs (1 conns), 1886.8 req/s received
status codes: 1 HTTP-200
data received: 235.847 KiB/s, 128 bytes total (117 bytes http + 11 bytes content)
rtt min/avg/max = 0.494/0.494/0.494 ms

[nix-shell:~]$ uhttpc-bench http://localhost:5811 -n10000
uhttpc-bench - a Haskell-based ab/weighttp-style webserver benchmarking tool

starting benchmark...
uhttpc-bench: ssRead': end of file
hvr commented 6 years ago

it means that uhttpc-bench doesn't cope well w/ prematurely closed sockets... :-)