Actions
Bug #1143
closedMissing boost::io_service::reset
Start date:
01/23/2012
Due date:
% Done:
0%
Estimated time:
Description
Stopping-restarting WIOService does not work: after the WIOService has been stopped and restarted the function posted are not executed. This is due the lack of reset of the underlying io_service reset necessary to perform a second set of run (see http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/reference/io_service/reset.html).
A solution could be to add a boost::asio::io_service::reset() at the and of WIOSerivice::stop
Updated by Koen Deforche almost 13 years ago
- Status changed from New to InProgress
- Assignee set to Pieter Libin
- Target version set to 3.2.1
Updated by Pieter Libin almost 13 years ago
- Status changed from InProgress to Resolved
Create a test case to reproduce the problem: wt/test/http/HttpClientTest.C http_client_test4
Fixed in git by calling the io_service::reset() method in WIOService::stop() as proposed by the submitter.
Actions