Michael

Results 37 comments of Michael

希望 http client 支持 socks5 proxy

cinatra 现在已经完全支持 http/https 客户端了吗?另外,请问,有没有支持ws/wss 客户端和 http/socks5 代理的计划?

限速需要计算当前速度,怎么加这个?

看到在 handle "application/octet-steam" Content-Type 时, https://github.com/qicosmos/cinatra/blob/d5f505d6f2e3430863f773e454beb771785be534/include/cinatra/connection.hpp#L425 下列代码向 static_dir 写入了 binary ?是否要去掉这个默认业务逻辑,留给 user 来自己 handle? https://github.com/qicosmos/cinatra/blob/d5f505d6f2e3430863f773e454beb771785be534/include/cinatra/connection.hpp#L427 ----- 备注下这个 MIME: > 所有的Internet标准和大多数有关TCP/IP的书都使用octet这个术语来表示字节。使用这个过分雕琢的术语是有历史原因的,因为TCP/IP的很多工作都是在DEC-10系统上进行的,但是它并不使用8bit的字节。由于现在几乎所有的计算机系统都采用8bit的字节,因此我们在本书中使用字节(byte)这个术语。 -- 摘自 《TCP/IP详解卷一》

理想中要有个异步 read 接口,不懂 cinatra 和 asio

* 以 Python 的 aiohttp server 端为例,py3有 async 关键字;对大文件,也需要加个 read buffer,从 octet-stream 里 async_read():https://docs.aiohttp.org/en/stable/web_quickstart.html#file-uploads 其他同步线程模型框架就不提了 这个 trade off 有点 tricky。。。 * https://github.com/avplayer/avhttp 作为 client 端,这个循环 boost::system::error_code 的语法还不错,只是增加了 boost 依赖,但这很 asio...

原因是,framework SHOULD NOT 在 upload 接口直接写文件,他要 do the right thing 当然,个人业务需求足够满足

Creating a cmake project generator is good option, with the dir structures as you described above, like most of the NodeJS web-frameworks do. ``` bash $ feather new my_blog ```

@yurenzhen 能否具体一些?另外 Ruby on Rails也不错