Stop rs_request_send() from leaking RSE_TIMEOUT_CONN and RSE_TIMEOUT_IO.
authorLinus Nordberg <linus@nordberg.se>
Mon, 18 Nov 2013 15:34:21 +0000 (16:34 +0100)
committerLinus Nordberg <linus@nordberg.se>
Mon, 18 Nov 2013 15:34:21 +0000 (16:34 +0100)
commit1f84470aaf49264084d39078adb4afd26d0b4d71
treedddd0e8b3c07f21996f0e75939a821b235523c24
parentd401ecbd70e02ad5b0cd7ab103359a23c6af3224
Stop rs_request_send() from leaking RSE_TIMEOUT_CONN and RSE_TIMEOUT_IO.

If sending or receiving time out, pop the error off the stack before
continuing the loop. Push a new error, RS_TIMEOUT, before timing out
for real.

Addresses LIBRADSEC-3.
lib/request.c