Bug 58419 - ApacheBench (ab) doesn't work with keep-alives against Erlang/Cowboy web server
Summary: ApacheBench (ab) doesn't work with keep-alives against Erlang/Cowboy web server
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 10:15 UTC by Arkadi Shishlov
Modified: 2015-09-21 04:56 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arkadi Shishlov 2015-09-16 10:15:32 UTC
ab -k doesn't really work against Cowboy-based web servers because AB only checks for "Content-Length:" and "Content-length:" to extract the HTTP header, yet widely used Cowboy Erlang web framework outputs lowercased headers only (by design).

http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?view=markup
around line 1577.

https://github.com/ninenines/cowboy/blob/master/doc/src/guide/resp.ezdoc#L22