基于epoll模型的http服务器 + CSAPP_lab
基于epoll模型的http服务器 + CSAPP一书配套的实验中,其中3个经典实验的源码
###http:基于epoll模型的http服务器
采用epoll模型,实现了统一事件源,并通过时间堆管理定时器回收非活动连接。
通过一个线程池实现对任务的处理,然后使用状态机解析HTTP报文,请求了静态文件。
###malloclab-handout:基于分离适配算法的内存分配器
采用双向链表结构维护分配器,每次分配一个内存块时,通过链表头指针查找到一个大小合适的块,并进行可选的分割。性能较隐式空闲链表分配器提升了大约20%。
###proxylab-handout:实现了一个简单的代理程序
###shlab-handout:Tiny Shell
实现了一个简易shell程序,主要涉及进程管理和信号处理。定义了一个数据结构管理job,实现了job的add,delete,fg,bg等功能。并正确的处理了SIGINT,SIGCHLD,SIGTSTP信号。
Epoll-based HTTP Server
Project Details
- a2888409/CSAPP
- Last Updated: 9/3/2021
Recomended MCP Servers
A Model Context Protocol server for interacting with the Solana blockchain, powered by the Solana Agent Kit (https://github.com/sendaifun/solana-agent-kit)
An MCP server for accessing data from Data.gov, providing tools and resources for interacting with government datasets.
🚀 OneSearch MCP Server: Web Search & Scraper & Extract, Support Firecrawl, SearXNG, Tavily, DuckDuckGo, Bing, etc.
A Model Context Protocol server for interacting with Babashka, a native Clojure interpreter for scripting
mcp-server
An MCP server for Azure DevOps
MCP server for Amplitude Analytics integration with AI assistants. Enables Claude and other MCP clients to track events,...
MCP Framework starter template bolt





