Ticket #2 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

HG_Handler_process() never returns unless a request arrives

Reported by: carns Owned by: somebody
Priority: major Milestone:
Component: HG Version:
Severity: Keywords:
Cc: dkimpe

Description

To reproduce, do the following in a Mercury server:

hg_ret = HG_Handler_process(1, HG_STATUS_IGNORE);
fprintf(stderr, "HG_Handler_process() completed.\n");

... but do not issue any RPC operations to the server. The expected behavior is that HG_Handler_process() will honor the timeout value of 1 and return even though no requests have been received, but it appears to hang indefinitely instead.

Mercury is configured to use the BMI transport in this case.

This problem is present in git revision 167235d514d544dc1f49d1f4ca7d15d8747a36d1. It worked as expected a few weeks ago but I'm not sure what revision that was.

Change History

comment:1 Changed 9 years ago by jsoumagne

  • Status changed from new to closed
  • Resolution set to fixed

There was a wrong timeout conversion introduced by some recent modifications. This is now fixed in commit 1d38cc8179ec77f34af8f8ff5b8b2324bc9b117b.

Note: See TracTickets for help on using tickets.