UltraMonkey-L7 V3(multi-thread implementation)
Révision | b458b878892b73e804de547f303b98858be988d5 (tree) |
---|---|
l'heure | 2012-01-23 18:46:21 |
Auteur | Michiro HIBARI <hibari@user...> |
Commiter | Michiro HIBARI |
@@ -2403,6 +2403,14 @@ void tcp_session::up_thread_sorryserver_connection_fail_event(const TCP_PROCESS_ | ||
2403 | 2403 | formatter % boost::this_thread::get_id(); |
2404 | 2404 | Logger::putLogDebug(LOG_CAT_L7VSD_SESSION, 999, formatter.str(), __FILE__, __LINE__); |
2405 | 2405 | } |
2406 | + | |
2407 | + // up thread pause off | |
2408 | + upthread_status = UPTHREAD_ACTIVE; | |
2409 | + | |
2410 | + //sorryserver socket clear | |
2411 | + sorryserver_socket.reset(); | |
2412 | + sorryserver_endpoint = boost::asio::ip::tcp::endpoint(); | |
2413 | + | |
2406 | 2414 | } |
2407 | 2415 | //! up thread close sorryserver socket and raise sorryserver disconnect event message for up and down thread |
2408 | 2416 | //! @param[in] process_type is process type |