ab hangs with play! when using keep-alive mode
Bug #599302 reported by
王晓哲
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Fix Committed
|
Medium
|
Nicolas Leroux |
Bug Description
Running this ab cmdline:
$ ab -n1 -c1 -k http://
And ab hangs forever...
The reason is that ab demands 'Connection: keep-alive' header appearing in response, otherwise it just stopped read responses. It is a bug in ab, but maybe Play! should add that header when in keep-alive mode for compatibility.
ab version 2.3,play! version 1.1-unstable-r939
Changed in play: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Yes, I will look into it.