UltraMonkey-L7 V3(multi-thread implementation)
Revision | 16f8534d834856ddc51b416d4e890a87a872a0d6 (tree) |
---|---|
Time | 2012-08-28 17:38:50 |
Author | Hiroaki Nakano <nakano.hiroaki@nttc...> |
Commiter | Hiroaki Nakano |
チケット29114 patchのbug fix
message処理すべきところで、next_call_functionを呼んでいた。
Signed-off-by: Hiroaki Nakano <nakano.hiroaki@nttcom.co.jp>
@@ -905,7 +905,7 @@ void tcp_session::up_thread_run() | ||
905 | 905 | upthread_status_cond.timed_wait(lock, xt); |
906 | 906 | tcp_thread_message *msg = up_thread_message_que.pop(); |
907 | 907 | if (msg) { // message is alive. |
908 | - up_thread_next_call_function.second(LOCAL_PROC); | |
908 | + msg->message(MESSAGE_PROC); | |
909 | 909 | delete msg; |
910 | 910 | msg = NULL; |
911 | 911 | } |