| 411 | // end of public methods for HttpClientConnection |
| 412 | |
| 413 | void HttpClientConnection::cleanup() |
| 414 | { |
| 415 | reset(); |
| 416 | |
| 417 | // if there are requests in the executionQueue -> move them back to the waiting queue |
| 418 | while(executionQueue.count() != 0) { |
| 419 | waitingQueue.enqueue(executionQueue.dequeue()); |
| 420 | } |
| 421 | } |