| 34 | return was_full; |
| 35 | } |
| 36 | void bcos::boostssl::http::Queue::enqueue(HttpResponsePtr _msg) |
| 37 | { |
| 38 | m_allResp.push_back(std::move(_msg)); |
| 39 | // there was no previous work, start this one |
| 40 | if (m_allResp.size() == 1) |
| 41 | { |
| 42 | m_sender(m_allResp.front()); |
| 43 | } |
| 44 | } |