修訂 | f12c2655c350bc6884d5a2233f91fb8c6746d1f1 (tree) |
---|---|
時間 | 2010-10-15 17:28:10 |
作者 | 0809216 <0809216@1ed6...> |
Commiter | 0809216 |
#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
@@ -1157,7 +1157,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_accept(const | ||
1157 | 1157 | //set return status |
1158 | 1158 | status = SORRYSERVER_SELECT; |
1159 | 1159 | } |
1160 | - //sorry flag on | |
1160 | + //sorry flag off | |
1161 | 1161 | else { |
1162 | 1162 | //set return status |
1163 | 1163 | status = REALSERVER_SELECT; |
@@ -3331,7 +3331,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_ | ||
3331 | 3331 | } |
3332 | 3332 | } |
3333 | 3333 | |
3334 | - if (forwarded_for == FORWARDED_FOR_ON || session_data->sorry_flag == SORRY_FLAG_ON) { | |
3334 | + if (forwarded_for == FORWARDED_FOR_ON) { | |
3335 | 3335 | //search X-Forwarded-For header |
3336 | 3336 | ret = find_http_header(recv_data.receive_buffer + it->send_offset, it->send_possible_size, |
3337 | 3337 | str_forword_for.c_str(), header_offset, header_offset_len); |
@@ -7057,8 +7057,8 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_ | ||
7057 | 7057 | : session_data->target_endpoint; |
7058 | 7058 | receive_data_map_it receive_data_it = session_data->receive_data_map.find(endpoint); |
7059 | 7059 | 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(); | |
7062 | 7062 | putLogError(100125, formatter.str(), __FILE__, __LINE__); |
7063 | 7063 | throw - 1; |
7064 | 7064 | } |