SimpleHttpServer:用C编写的非常简单和粗略的HTTP服务器

时间:2021-04-28 04:41:55
【文件属性】:
文件名称:SimpleHttpServer:用C编写的非常简单和粗略的HTTP服务器
文件大小:20KB
文件格式:ZIP
更新时间:2021-04-28 04:41:55
C SimpleHttpServer 用C编写的非常简单和粗略的HTTP服务器 特征 支持静态页面的GET请求 通过使用FastCGI支持对PHP页面的GET / POST请求 Linux上的多处理模式 建造 在这两个平台上,默认情况下,编译后的可执行文件将位于Debug目录中。 视窗 确保已安装Visual Studio 2017(未经其他VS版本测试) 下载仓库,解压 打开SimpleHttpServer.sln并构建 Linux $ git clone https://github.com/hx1997/SimpleHttpServer.git $ cd SimpleHttpServer/SimpleHttpServer $ mkdir ../Debug $ make && make clean 用法 SimpleHttpServer [-m] [-p port] [-r w
【文件预览】:
SimpleHttpServer-master
----.gitignore(5KB)
----SimpleHttpServer()
--------SimpleHttpServer.vcxproj(6KB)
--------platform.h(789B)
--------Makefile(186B)
--------socket.c(3KB)
--------fastcgi.h(3KB)
--------config.c(1KB)
--------SimpleHttpServer.vcxproj.filters(2KB)
--------config.h(492B)
--------platform.c(280B)
--------http.h(2KB)
--------socket.h(717B)
--------parse.c(5KB)
--------error.h(401B)
--------http.c(2KB)
--------fastcgi.c(8KB)
--------parse.h(495B)
--------main.c(3KB)
----LICENSE(1KB)
----SimpleHttpServer.sln(1KB)
----README.md(1KB)

网友评论