boost::asio 使用 libcurl
摘要:curl 使用 asio 的官方样例 http://curl.haxx.se/libcurl/c/asiohiper.html, 但这个例子用起来有很明细的 bug,asio 异步IO 只注册一次,也就是第一次 aync_read 之后对socket的读都是由 超时 驱动的。自己把样例改了下。cur...
阅读全文
posted @ 2014-12-18 17:46
posted @ 2014-12-18 17:46