use gearmad http, keep-alive it's unwork
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
New
|
Undecided
|
Unassigned |
Bug Description
use gearmad http:
http/1.1 or with header: "Connection: Keep-Alive"
after job finish complete , connection is by closed!
log below:
INFO 2016-05-12 11:10:21.000000 [ main ] Accepted connection from 172.16.18.171:14817
INFO 2016-05-12 11:10:21.000000 [ 1 ] HTTP connection made
INFO 2016-05-12 11:10:21.000000 [ 1 ] Receiving HTTP response
INFO 2016-05-12 11:10:21.000000 [ 1 ] Receiving HTTP response(finished)
NOTICE 2016-05-12 11:10:21.000000 [ proc ] accepted,
INFO 2016-05-12 11:10:21.000000 [ 1 ] Peer connection has called close()
INFO 2016-05-12 11:10:21.000000 [ 1 ] Disconnected 172.16.18.171:14817
so, apache/ab -k is also is failed!
source: http/protocol.cc :
lineno: 414
if (keep_alive() == false)
{
gearman_
}
It's unwork.