• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修訂f12c2655c350bc6884d5a2233f91fb8c6746d1f1 (tree)
時間2010-10-15 17:28:10
作者0809216 <0809216@1ed6...>
Commiter0809216

Log Message

#536 Fixed

git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10380 1ed66053-1c2d-0410-8867-f7571e6e31d3

Change Summary

差異

--- a/l7vsd/module/protocol/protocol_module_sessionless.cpp
+++ b/l7vsd/module/protocol/protocol_module_sessionless.cpp
@@ -1157,7 +1157,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_accept(const
11571157 //set return status
11581158 status = SORRYSERVER_SELECT;
11591159 }
1160- //sorry flag on
1160+ //sorry flag off
11611161 else {
11621162 //set return status
11631163 status = REALSERVER_SELECT;
@@ -3331,7 +3331,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
33313331 }
33323332 }
33333333
3334- if (forwarded_for == FORWARDED_FOR_ON || session_data->sorry_flag == SORRY_FLAG_ON) {
3334+ if (forwarded_for == FORWARDED_FOR_ON) {
33353335 //search X-Forwarded-For header
33363336 ret = find_http_header(recv_data.receive_buffer + it->send_offset, it->send_possible_size,
33373337 str_forword_for.c_str(), header_offset, header_offset_len);
@@ -7057,8 +7057,8 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
70577057 : session_data->target_endpoint;
70587058 receive_data_map_it receive_data_it = session_data->receive_data_map.find(endpoint);
70597059 if (unlikely(receive_data_it == session_data->receive_data_map.end())) {
7060- boost::format formatter("Invalid endpoint. thread id : %d.");
7061- formatter % boost::this_thread::get_id();
7060+ boost::format formatter("Invalid endpoint(%s). thread id: %d.");
7061+ formatter % endpoint % boost::this_thread::get_id();
70627062 putLogError(100125, formatter.str(), __FILE__, __LINE__);
70637063 throw - 1;
70647064 }