###简易的http服务器 ####1.服务器的架构为epoll + 多线程 + sendfile #####2.暂时只支持GET和HEAD方法,支持的首部不多大概七八个吧,支持伪长连接 #####3.可配置的,现阶段只支持domain和docroot配置项,domain就是你部署的网站域名,docroot想必学过网页的都知道是什么意思吧~ #####4.编译方式: cd webserver && mkdir build && cd build && cmake .. && make [debug|release] #####5.运行方式: (在build目录中)./webserver ../webserver/tinyhttp.config
forked from zouxiaohang/webserver
-
Notifications
You must be signed in to change notification settings - Fork 0
fsswl/webserver
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
简易的http服务器
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 98.3%
- CMake 1.7%