| 36 | #include <thread> |
| 37 | |
| 38 | static void fiber_thread(acl::string* addr, acl::string* url) |
| 39 | { |
| 40 | acl::fiber* fb = new fiber_http(addr->c_str(), url->c_str()); |
| 41 | delete addr; |
| 42 | delete url; |
| 43 | fb->start(128000); |
| 44 | acl::fiber::schedule(); |
| 45 | } |
| 46 | |
| 47 | bool http_test(const char* url) |
| 48 | { |