UltraMonkey-L7 V3(multi-thread implementation)
Revisión | 1b2fe60282ab7ec267432ce0f9b8ede4a8f4bc07 (tree) |
---|---|
Tiempo | 2014-09-04 14:11:36 |
Autor | Hiroaki Nakano <nakano.hiroaki@nttc...> |
Commiter | Hiroaki Nakano |
fix for_gcc4.7 degrade #30300 patch.
@@ -5657,6 +5657,11 @@ bool protocol_module_ip::put_data_into_sendbuffer( | ||
5657 | 5657 | buffer_element.first += sendbuffer_rest_size; |
5658 | 5658 | buffer_element.second -= sendbuffer_rest_size; |
5659 | 5659 | sendbuffer_rest_size = 0; |
5660 | + | |
5661 | + //add remain item | |
5662 | + data_ptr->buffer_sequence.push_back(buffer_element); | |
5663 | + //delete the item | |
5664 | + data_ptr->buffer_sequence.pop_front(); | |
5660 | 5665 | break; |
5661 | 5666 | } |
5662 | 5667 | } |