使用同样的代理,用curl工具,正常;输出:
$ /usr/local/bin/curl -x 127.0.0.1:53430 'https://www.google.co.jp/'
<!doctype html><title>Google</title><script>(function(){window.google={kEI:'tA8xWIiHBIWA8QWXhZTQAw',kEXPI:'1351903,1352083,3700320,4029370,4029815,4031109,4032678,4036...
用 async_http_stream.cpp ,则停止在:
$ ./async_http_stream https://www.google.com/
<!doctype html><meta content="text/html; charset=UTF-8" http-equiv="Content-Type^C
环境说明:
ubuntu 14.04
g++ 4.9.4
boost 1.61