From 4b8c67e2300205200f4f846400d73a03cb3da854 Mon Sep 17 00:00:00 2001 From: ipknHama Date: Tue, 1 Apr 2014 01:51:50 +0900 Subject: accept connections, print http request parsed information --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bc09577..66d35d5 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ all: example -example: example.cpp - g++ -o example example.cpp +example: example.cpp flask.h http_server.h http_connection.h parser.h + g++ -g -std=c++11 -o example example.cpp http-parser/http_parser.c -pthread -lboost_system -lboost_thread -I http-parser/ +test: example + ./example & + test.py + pkill example -- cgit v1.2.3-54-g00ecf