Changeset 0b8df3e in nscp


Ignore:
Timestamp:
08/23/11 08:30:47 (22 months ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2
Children:
b38e845
Parents:
4632ff7
Message:
  • Fixed issue in the NSCP server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • changelog

    r4632ff7 r0b8df3e  
    55 * Fixa dependonservice LanManWorkStation (old win) 
    66 * Fix RtlStringFromGUID problem on NT4 
     7 
     82011-08-22 MickeM 
     9 * Fixed issue in the NSCP server 
    710 
    8112011-08-22 MickeM 
  • include/nscp/server/connection.cpp

    r438998b r0b8df3e  
    152152      if (!e) { 
    153153        handler_->log_debug(__FILE__, __LINE__, _T("Done sending data")); 
     154        cancel_timer(); 
    154155        // Initiate graceful connection closure. 
    155156        boost::system::error_code ignored_ec; 
  • include/nscp/server/ssl_connection.cpp

    r438998b r0b8df3e  
    4545        boost::asio::buffer(buffer), 
    4646        strand_.wrap( 
    47         boost::bind(&connection::handle_read_request, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred, helper) 
     47        boost::bind(&connection::handle_read_request, shared_from_this(), boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred, helper) 
    4848          ) 
    4949        ); 
  • include/nscp/server/tcp_connection.cpp

    r438998b r0b8df3e  
    2929        boost::asio::buffer(buffer), 
    3030        strand_.wrap( 
    31           boost::bind(&connection::handle_read_request, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred, helper) 
     31          boost::bind(&connection::handle_read_request, shared_from_this(), boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred, helper) 
    3232          ) 
    3333        ); 
Note: See TracChangeset for help on using the changeset viewer.