Skip to content
This repository was archived by the owner on Jul 3, 2021. It is now read-only.

Commit 5913ac9

Browse files
author
Gunnar Guðvarðarson
committed
Cleanup
Conflicts: proxy.c
1 parent 8b86846 commit 5913ac9

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*.o
22
proxy
3-
.goutputstream-*
43
core.*
54
proxy.log
5+

Makefile

100755100644
+1-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
VERSION = 1
2-
HANDINDIR = /labs/proxylab/handin/$(shell whoami)
3-
41
CC = gcc
52
CFLAGS = -Wall -g -pedantic
63
LDFLAGS = -lpthread -pthread
@@ -14,11 +11,6 @@ proxy: $(OBJS)
1411
proxy.o: proxy.c
1512
$(CC) $(CFLAGS) -c proxy.c -std=c99
1613

17-
handin:
18-
cp proxy.c $(HANDINDIR)/$(shell whoami)-$(VERSION)-proxy.c
19-
chmod 600 $(HANDINDIR)/$(shell whoami)-$(VERSION)-proxy.c
20-
21-
2214
clean:
23-
rm -f *~ *.o proxy core
15+
rm -f *~ *.o proxy core proxy.log
2416

README

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
****************
21
HTTP Proxy
3-
****************
42

5-
Makefile - For building and handing in proxy
6-
README - This file
3+
NOTE: Not fully HTTP 1.1 compliant.
4+
5+
Makefile - For building proxy
6+
README - This file
77

88
# Proxy source files
9-
proxy.{c,h} - Primary proxy code
9+
proxy.c - Primary proxy code
1010

proxy.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ proxy_header_parse_head (
737737

738738
/*
739739
* Parses a header line to get the key and value of that line
740-
*/
740+
*/
741741
static bool
742742
proxy_header_parse_line (
743743
const struct string line,

0 commit comments

Comments
 (0)