warning response not returned in gearman_client_do()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I've the following testcase in Gearman::XS
($ret, $result) = $client-
is($ret, GEARMAN_
is($result, 'argh');
($ret, $result) = $client-
is($ret, GEARMAN_SUCCESS);
is($result, 'blubb');
the warning function in the worker is:
sub warning {
my ($job) = @_;
$job-
return $job->workload();
}
with the current gearmand trunk the tests fail as the first call to gearman_client_do() returns GEARMAN_IO_WAIT instead of GEARMAN_
As I'm not that familiar with the gearman_
Related branches
- Gearman-developers: Pending requested
-
Diff: 10 lines (+0/-1)1 file modifiedlibgearman/client.c (+0/-1)
Changed in gearmand: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
milestone: | none → 0.12 |
Changed in gearmand: | |
status: | Fix Committed → Fix Released |