sarrow104

Results 5 issues of sarrow104

can you export ```go func (tr *Map[K, V]) find(n *mapNode[K, V], key K) (index int, found bool) ``` to public domain, like: ```go func (tr *Map[K, V]) Find(n *mapNode[K, V],...

1. add missing header 2. bugfixed: check chunk_size error fixed

`boost::asio`的 `read`/`async_read`的各种版本,都会尽可能地多读取数据,而非恰好停止在需求的未知; 这可能导致,`reed_buf_`实际已经有,供后续方法处理的数据,仍然调用网络读取方法的时候,遇到eof, 而使得`ec`,接收到一个非0的`boost::asio::error::eof`,使得形如: ```cpp if (!ec) { ... } ``` 的判断失败; 调整有三类: 1. 增加一个 `is_ec_ok`的方法: ```cpp static bool is_ec_ok(const boost::system::error_code& ec) { //return !ec; return !ec || ec ==...

使用同样的代理,用curl工具,正常;输出: $ /usr/local/bin/curl -x 127.0.0.1:53430 'https://www.google.co.jp/' Google(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/