• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

UltraMonkey-L7 V3(multi-thread implementation)


Commit MetaInfo

Revision0fac6b368daa7b4458f3547761e8ff9e782c2a09 (tree)
Time2014-02-24 15:25:51
AuthorMichiro Hibari <l05102@shib...>
CommiterMichiro Hibari

Log Message

Fix ticket #33255 (modify delete realserver code).

Change Summary

Incremental Difference

--- a/l7vsd/src/virtualservice_tcp.cpp
+++ b/l7vsd/src/virtualservice_tcp.cpp
@@ -1530,8 +1530,9 @@ void l7vs::virtualservice_tcp::del_realserver(const l7vs::virtualservice_element
15301530 for (std::list<realserver>::iterator rs_itr = rs_list.begin();
15311531 rs_itr != rs_list.end(); ++rs_itr) {
15321532 if (itr->tcp_endpoint == rs_itr->tcp_endpoint) {
1533+ boost::asio::ip::tcp::endpoint del_endpoint = rs_itr->tcp_endpoint;
15331534 rs_list.erase(rs_itr);
1534- active_sessions.do_all(boost::bind(&session_thread_control::session_realserver_remove, _1, rs_itr->tcp_endpoint));
1535+ active_sessions.do_all(boost::bind(&session_thread_control::session_realserver_remove, _1, del_endpoint));
15351536 break;
15361537 }
15371538 }