Skip to content

xjtucoder/HttpServer

Repository files navigation

Oh-Server

一个用C++写的简单的epoll多线程http服务器。

httpserver.cpp 主函数文件

locker.cpplocker.h 互斥锁、信号量和条件变量的封装类

threadpool.h 线程池类模板

http_parser.cpphttp_parser.h 解析http请求的类

http_process.cpphttp_process.h 处理http请求的类

usage

make

./Oh-Server <port>

more details

About

practice for http, multipthread,socket programming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors