Project

General

Profile

Actions

Bug #1143

closed

Missing boost::io_service::reset

Added by Francesco Basile almost 13 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Pieter Libin
Target version:
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

Actions #1

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
Actions #2

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 #3

Updated by Koen Deforche over 12 years ago

  • Status changed from Resolved to Closed

Fixed in 3.2.1

Actions

Also available in: Atom PDF