| 17 | http_task::~http_task(void) {} |
| 18 | |
| 19 | void http_task::debug(void) const { |
| 20 | log_info(">>task=%p: host=%s, port=%d, url=%s<<", |
| 21 | this, server_host_.c_str(), server_port_, server_url_.c_str()); |
| 22 | } |
| 23 | |
| 24 | http_task* http_task::wait(void) { |
| 25 | return box_.pop(); |