ab hangs with play! when using keep-alive mode

Bug #599302 reported by 王晓哲
6
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://localhost:9000/

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

Revision history for this message
Nicolas Leroux (nicolas-lunatech) wrote :

Yes, I will look into it.

Changed in play:
milestone: none → 1.1
assignee: nobody → Nicolas Leroux (nicolas-lunatech)
importance: Undecided → Medium
status: New → Confirmed
Changed in play:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.