Changeset 5444 for source


Ignore:
Timestamp:
Jul 29, 2009, 5:33:41 PM (15 years ago)
Author:
mies
Message:
 
Location:
source/ariba
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/overlay/BaseOverlay.cpp

    r5436 r5444  
    13751375                // ---------------------------------------------------------------------
    13761376                case OverlayMsg::typeKeepAlive: {
    1377 
    13781377                        logging_debug( "received keep-alive on link" );
    1379 
    13801378                        if ( ld != NULL ) {
    1381                                 //logging_force("Keep-Alive for "<< ld->overlayId);
     1379                                logging_force("Keep-Alive for "<< ld->overlayId);
    13821380                                ld->markAlive();
    13831381                        }
  • source/ariba/utility/transport/rfcomm/rfcomm.cpp

    r5435 r5444  
    150150                        boost::asio::placeholders::error, info
    151151                ));
    152                 asio_io_service::start();
    153152        }
    154153
     
    169168
    170169        // start writing
    171         start_write(info);
     170        io.post( boost::bind( &rfcomm::start_write, this, info) );
    172171}
    173172
     
    293292
    294293void rfcomm::start_read(link_info* info) {
     294        logging_debug("Start reading ...");
     295
    295296        // start read
    296297        boost::asio::async_read(*info->socket,
     
    367368        // deliver data
    368369        listener->receive_message(this, info->local, info->remote, info->buffer, info->size );
     370
     371        logging_debug( "Message delivered to service!");
    369372
    370373        // free buffers and reset size buffer
  • source/ariba/utility/transport/tcpip/tcpip.cpp

    r5284 r5444  
    195195                        tp.listener->receive_message(
    196196                                        &tp, local, remote, datamsg->get_buffer()+6, message_size );
     197
     198                        delete datamsg;
    197199                }
    198200        }
Note: See TracChangeset for help on using the changeset viewer.