Skip to content

Commit bf8aec8

Browse files
committed
Ooo lots of changes...
Added logging (slurped from libstk) removed more of the wchar_t support updated model support fixed boundary detection for non-multipart posts changed http::session::post to a map<string,string> added new http::session::files created a files type that saves files to temp and does auto GC
1 parent 339a99f commit bf8aec8

20 files changed

+1494
-1093
lines changed

LICENSE

+623-288
Large diffs are not rendered by default.

fcgi/Makefile

+15-12
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,42 @@ CFLAGS=-c -I . -g
22

33
all: config
44

5-
config: http.o transceiver.o request.o protocol.o exceptions.o config.o util.o db.o model.o
5+
config: http.o transceiver.o request.o protocol.o exceptions.o config.o db.o model.o logging.o util.o
66
g++ $^ -g -o $@ -lsqlite3
77

88
install: config
99
rm -f /home/vhmauery/local/pyrobox/config.fcgi
1010
cp config /home/vhmauery/local/pyrobox/config.fcgi.tmp
1111
mv /home/vhmauery/local/pyrobox/config.fcgi.tmp /home/vhmauery/local/pyrobox/config.fcgi
1212

13-
http.o: http.cpp http.hpp utf8_codecvt.hpp utf8_codecvt_facet.hpp util.hpp
13+
http.o: http.cpp http.hpp util.hpp logging.hpp
1414
g++ http.cpp $(CFLAGS) -o $@
1515

16-
transceiver.o: transceiver.cpp transceiver.hpp util.hpp
16+
util.o: util.cpp util.hpp logging.hpp
17+
g++ util.cpp $(CFLAGS) -o $@
18+
19+
logging.o: logging.cpp logging.hpp
20+
g++ logging.cpp $(CFLAGS) -o $@
21+
22+
transceiver.o: transceiver.cpp transceiver.hpp util.hpp logging.hpp
1723
g++ transceiver.cpp $(CFLAGS) -o $@
1824

19-
request.o: request.cpp utf8_codecvt_facet.cpp request.hpp utf8_codecvt.hpp utf8_codecvt_facet.hpp util.hpp
25+
request.o: request.cpp request.hpp util.hpp logging.hpp
2026
g++ request.cpp $(CFLAGS) -o $@
2127

22-
protocol.o: protocol.cpp protocol.hpp util.hpp
28+
protocol.o: protocol.cpp protocol.hpp util.hpp logging.hpp
2329
g++ protocol.cpp $(CFLAGS) -o $@
2430

25-
exceptions.o: exceptions.cpp exceptions.hpp util.hpp
31+
exceptions.o: exceptions.cpp exceptions.hpp util.hpp logging.hpp
2632
g++ exceptions.cpp $(CFLAGS) -o $@
2733

28-
util.o: util.cpp util.hpp
29-
g++ util.cpp $(CFLAGS) -o $@
30-
31-
db.o: db.cpp db.hpp
34+
db.o: db.cpp db.hpp logging.hpp
3235
g++ db.cpp $(CFLAGS) -o $@
3336

34-
model.o: model.cpp model.hpp db.hpp
37+
model.o: model.cpp model.hpp db.hpp logging.hpp
3538
g++ model.cpp $(CFLAGS) -o $@
3639

37-
config.o: config.cpp manager.hpp request.hpp util.hpp db.hpp
40+
config.o: config.cpp manager.hpp request.hpp util.hpp db.hpp logging.hpp
3841
g++ config.cpp $(CFLAGS) -o $@
3942

4043
clean:

0 commit comments

Comments
 (0)