首先学习的是 thttpd thttpd 是一个小型的 HTTP 服务器 官方网址:http://www.acme.com/software/thttpd/ 下载version 2.25b 的源码后解压,切换到源码目录,编译步骤为: ./configure make thttpd一共有16个源文件: config.h fdwatch.h libhttpd.h matc
thttpd源码分析 最近多了个看源码的嗜好 main函数已经分析好了,找时间分离好代码,待续...thttpd Web Server模块 thttpd Web Server Chroot安全模块 chroot 1/* 2chroot是⼀个系统调⽤,将程序的可见⽂件视图限制到当前⽬录及其下⾯的其他⽬录。这样其他远程user就⽆法访问初始⽬录外的⽂件。
最近多了个看源码的嗜好 main函数已经分析好了,找时间分离好代码,待续... thttpd Web Server模块 thttpd Web Server Chroot安全模块 chroot 其他模块