Skip to content

Commit

Permalink
adding everything
Browse files Browse the repository at this point in the history
  • Loading branch information
vanabbott committed Dec 5, 2020
1 parent ed9ad9b commit 866a838
Show file tree
Hide file tree
Showing 45 changed files with 2,714 additions and 1 deletion.
26 changes: 26 additions & 0 deletions Makefile
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) $@ $^
28 changes: 27 additions & 1 deletion README.md
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 added bin/spidey
Binary file not shown.
Loading

0 comments on commit 866a838

Please sign in to comment.