![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
httpd
tadus_zeng
the world need balance
展开
-
cget安装inja
cget 介绍github:https://github.com/pfultz2/cgetCmake包管理工具。这可以用来下载和安装cmake包。使用cget的优点是:非侵入性:不需要在cmake中编写特殊的钩子就可以使用cget。编写了一个cmake文件,可用于安装带有cget或standalone的包。开箱即用:由于它使用了cmake的标准构建和安装,因此它几乎可以与所有cmake包一起使用。不需要等待包转换为支持cget。可以立即安装标准的cmake包。分散:包可以从任何地方安装,从git原创 2021-02-25 16:16:11 · 687 阅读 · 0 评论 -
C/C++的URL路由库,R3Router初探
介绍R3是一个高性能的URL路由器库,因此,它是用C实现的。它将R3路由路径编译成前缀trie。通过在启动时构造前缀树,可以高效地将路径分配给控制器。github地址https://github.com/c9s/r3安装sudo yum install pcre-devel # 安装 pcre: perl的正则库mkdir c9s && cd c9sgit clone https://github.com/c9s/r3.gitcd r3git checkout 2.0原创 2021-02-24 12:55:07 · 987 阅读 · 0 评论 -
linux下一个简单的http服务器(0)
//httpd.cc#include <cassert>#include <cstdio>#include <cstring>#include <netinet/in.h>#include <signal.h>#include <spdlog/common.h>#include <spdlog/spdlog.h>#include <string>#include <sys/socket.h原创 2021-02-22 17:19:20 · 98 阅读 · 0 评论