Changeset 10983


Ignore:
Timestamp:
06/10/11 14:49:45 (13 years ago)
Author:
tbretz
Message:
Canceled conecction atempts now stop the connection atempt.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Connection.cc

    r10925 r10983  
    2020using ba::ip::tcp;
    2121
     22#define DEBUG_TX
    2223
    2324    // -------- Abbreviations for starting async tasks ---------
     
    300301    // the endpoint again.
    301302    CloseImp(false);
    302     fConnectionStatus = kConnecting;
    303 
    304     // FIXME: "No route to host (syytem::113)" gives error:"Operation already in progress. (system:114)"
     303
    305304    ostringstream msg;
    306305    if (!host.empty())
     
    314313        Warn(fErrConnect);
    315314    }
     315
     316    if (error==ba::error::basic_errors::operation_aborted)
     317        return;
     318
     319    fConnectionStatus = kConnecting;
    316320
    317321    // Go on with the next
Note: See TracChangeset for help on using the changeset viewer.