Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #6952

Category None
Changed by Bill Erickson <berickxxohnoyoudont@gmail.com>
Changed at Mon 11 May 2020 15:48:53
Repository git://git.evergreen-ils.org/OpenSRF.git
Project OpenSRF
Branch master
Revision deee3d88a38c53d3750f4cca44fc1920421c1907

Comments

LP1874510 libopensrf recv timeout cal repair
Fixes the message receive timeout calculation logic in OpenSRF C client
code.  The calculation is performed when multiple calls to receive are
needed to piece together a response message.

The logic previously calculated the time remaining as the time remaining
minus the total time taken for all iterations with each loop iteration,
leading to exhausting the timeout too quickly.  Now it calculates the
value as time remaining minus the time taken for the only most recent
loop iteration.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>

Changed files