Disable/delete events in the timeout callback.
authorLinus Nordberg <linus@nordberg.se>
Mon, 18 Nov 2013 14:30:00 +0000 (15:30 +0100)
committerLinus Nordberg <linus@nordberg.se>
Mon, 18 Nov 2013 14:30:00 +0000 (15:30 +0100)
commitd401ecbd70e02ad5b0cd7ab103359a23c6af3224
tree482eec62a7bb2da9e91c9a6ff93a687858a1cbd1
parentf5081dc4aae5e2cb953e8b61fe86ae506974ed7a
Disable/delete events in the timeout callback.

Without this, the sequence

  (1) send (successfully)
  (2) receive (timeout)
  (3) resend (successfully)

will have the read event from (2) trigger a read in (3) and the
response is lost.

Addresses LIBRADSEC-3.
lib/event.c