- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 linux环境下的一个简单的web server
linux环境下的一个简单的web server ,可以用来处理静态的http请求。当做socket原理和http的的学习#include #include #include #include #include #include #include #include #include #include #define FILE_MAX_SIZE 100000 #define
2012-11-16 13:39:13 1363
转载 huffman code 的不错算法。(优先队列)
You’ve probably heard about David Huffman and his popular compression algorithm. If you didn’t, you’ll find that info on the Internet. I will not bore you with history or math lessons in this articl
2012-11-16 13:21:37 1281
转载 fastcgi协议分析
FastCGI协议数据包是8字节对齐的,由包头(Header)和包体(Body)组成。例如要请求一个index.php的页面,WebServer首先向WebApp发送一个Request数据包。包头有个请求ID用于并行工作时,区别不同的请求。 包头 [版本:1][类型:1][请求ID:2][数据长度:2][填充字节数:1][保留:1] 包体 [角色:2][参数:1][保留:5
2012-11-14 17:48:40 924
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人