aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib510.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-09-01 16:52:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-09-01 16:52:23 +0200
commitca10e28f06f168ec433d376ee8fd64a25b317f0f (patch)
treec2c88dafe0c5ba7aa9a467957bf58539b05905f0 /tests/libtest/lib510.c
parent5e920157112923417faf901b08098b65d82f7746 (diff)
multi: fixes for timing out handles
Add a timeout check for handles in the state machine so that they will timeout in all states disregarding what actions that may or may not happen. Fixed a bug in socket_action introduced recently when looping over timed out handles: it wouldn't assign the 'data' variable and thus it wouldn't properly take care of handles. In the update_timer function, the code now checks if the timeout has been removed and then it tells the application. Previously it would always let the remaining timeout(s) just linger to expire later on.
Diffstat (limited to 'tests/libtest/lib510.c')
0 files changed, 0 insertions, 0 deletions