Repository files navigation README HttpServer 基于C语言epoll模型实现简单的HTTP服务器 epoll + 多线程 Get Started $ git clone https://github.com/SenLinLeo/HttpServer.git $ make $ ./server About 基于C语言的HTTP服务器 Resources Readme Activity Stars 2 stars Watchers 1 watching Forks 0 for...
#define BACKLOG 5 //TCP服务器 class TcpServer{ private: int _port; //端口号 int _listen_sock; //监听套接字 static TcpServer* _svr; //指向单例对象的static指针 private: //构造函数私有 TcpServer(int port) :_port(port) ,_listen_sock(-1) {} //将拷贝构造函数和拷贝赋值函数私有或删除...
Custom string format and lack of standard C null-terminated string makes server safe from memory retrieval attacks Installation Prerequisites: CMake, GCC, libyaml Installation $ git clone https://github.com/Glorf/lear.git $cdlear $ cmake.$ make install $cdbin#now modify httpd.yaml to suit ...
Tinyhttpd 是J. David Blackstone在1999年写的一个不到 500 行的超轻量型 Http Server,用来学习非常不错,可以帮助我们真正理解服务器程序的本质。官网:http://tinyhttpd.sourceforge.net 修改说明 添加windows支持,CentOS7编译需要在#include <sys/types.h>前添加 ...
(10) 关闭与浏览器的连接,完成了一次 HTTP 请求与回应,因为 HTTP 是无连接的。 注释版源码 源码已写了注释,放在 Github:这里 懒得跳转的同学看下面... /* J. David's webserver */ /* This is a simple webserver. * Created November 1999 by J. David Blackstone. *...
.github/workflows src test .gitignore CMakeLists.txt Doxyfile LICENSE Makefile README.md compile_commands.json httpserver.h iwyu.imp state_diagram.uml README MIT license Seehttpserver.hfor API documentation Description httpserver.h is a single header C library for building event driven non-block...
Objective-C HTTP server. Contribute to xcvista/ohttpd development by creating an account on GitHub.
SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181. audio c c-plus-plus streaming video hls multimedia rtmp webrtc live-streaming live media-server dash prometheus-exporter srt low-latency hevc video-strea...
Note: If you're viewing this repo on GitHub, head over to codecrafters.io to try the challenge. Passing the first stage The entry point for your HTTP server implementation is in src/Server.cs. Study and uncomment the relevant code, and push your changes to pass the first stage: git add...
toy http server in C. Contribute to duckinator/chttpd development by creating an account on GitHub.