Re: [Boost-bugs] [Boost C++ Libraries] #5605: http async client example doesn't close on error correctly

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5605: http async client example doesn't close on error correctly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-29 02:46:21


#5605: http async client example doesn't close on error correctly
----------------------------------------+-----------------------------------
  Reporter: Frank <fhriley@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.46.1 | Severity: Cosmetic
Resolution: invalid | Keywords:
----------------------------------------+-----------------------------------
Changes (by chris_kohlhoff):

  * status: new => closed
  * resolution: => invalid

Comment:

 Actually it is not required since no further asynchronous operations are
 started. The socket will then be closed automatically when the class's
 destructor runs. In any case, the example has since been converted to use
 the `asio::async_connect()` function, which has simplified the example
 logic somewhat.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5605#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC