This repository contains the starter code for CMU 15-441/641 Networking and the Internet Project 3: CMU-HTTP.
Makefile
: Contains rules formake
.README.md
: Current document.cp1
: CP1 scripts and examples but also useful for CP2.backend/
: The codes we provide for you.backend/parse_http.c
: The HTTP Request / Response parser.backend/responses.c
: Predefined HTTP responses.backend/lexer.l
: Lex/Yacc related logic.backend/parser.y
include/
: some header files.src/
: You need to develop here.
- Generate the binaries:
make
- Run the server: For example, running
./server ./cp1/test_visual/
will start an HTTP server serving the contents in./cp1/test_visual/
.