News for hackers. Stuff that matters.
Re:TCP HTTP Server written in Assembly by bebna on Monday December 16, 2013 @06:49AM (#6914182)
Didn't send ab HEAD requests?

I know it does this by a given flag, but in some tests I have seen some HEADs between my GETs. I haven't used ab for long time, so don't quote me on that. Have u tried httpress[1] as a benchmark tool?

How about a simple check against the first byte equals G (DEC 71) if it is a GET? Shouldn't be that expensive, I think.

Thanks for creating it.

[1] https://bitbucket.org/yarosla/httpress/wiki/Home

Re:TCP HTTP Server written in Assembly by kragen on Monday December 16, 2013 @11:09PM (#6919583)
I don't know if ab sends HEAD requests! Thanks for the link to httpress; I've been having trouble with ab failing at high concurrencies (1000 concurrent connections) and also being the bottleneck.