-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
2,714 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
CC= gcc | ||
CFLAGS= -g -Wall -Werror -std=gnu99 -Iinclude | ||
LD= gcc | ||
LDFLAGS= -Llib | ||
AR= ar | ||
ARFLAGS= rcs | ||
TARGETS= bin/spidey | ||
|
||
all: $(TARGETS) | ||
|
||
clean: | ||
@echo Cleaning... | ||
@rm -f $(TARGETS) lib/*.a src/*.o *.log *.input | ||
|
||
.PHONY: all test clean | ||
|
||
# TODO: Add rules for bin/spidey, lib/libspidey.a, and any intermediate objects | ||
# | ||
src/%.o: src/%.c | ||
$(CC) $(CFLAGS) -c -o $@ $^ | ||
|
||
bin/spidey: src/spidey.o lib/libspidey.a | ||
$(LD) $(LDFLAGS) -o $@ $^ | ||
|
||
lib/libspidey.a: src/forking.o src/handler.o src/request.o src/single.o src/socket.o src/utils.o | ||
$(AR) $(ARFLAGS) $@ $^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
# httpserver-systems | ||
# Project - README | ||
|
||
This is the [Final Project] for [CSE 20289 Systems Programming (Spring 2020)]. | ||
|
||
## Members | ||
|
||
- Flahavan Abbott ([email protected]) | ||
|
||
## Demonstration | ||
|
||
- [Link to Demonstration Video](https://drive.google.com/open?id=1vE4CxTGxSZD_WydFzxRkI1AHwhYR10RP) | ||
|
||
## Errata | ||
|
||
Everything works right now. I had the hardest times writing handle browse request | ||
and all of the functions in request but once I got those the rest flowed easily. | ||
I currently think the handle_browse_request() function looks messy right now because | ||
of all of the checks I must perform in there for the thumbnails guru point. Sorry | ||
for the long video I tried to cut it down. | ||
|
||
|
||
## Contributions | ||
|
||
I did everything because I worked by myself. I completed the thumbnails guru point and the vps guru point as shown.. | ||
|
||
[Final Project]: https://www3.nd.edu/~pbui/teaching/cse.20289.sp20/project.html | ||
[CSE 20289 Systems Programming (Spring 2020)]: https://www3.nd.edu/~pbui/teaching/cse.20289.sp20/ |
Binary file not shown.
Oops, something went wrong.