Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
deps: upgrade http_parser to ad3b631
  • Loading branch information
bnoordhuis committed Aug 29, 2012
1 parent 8bec261 commit 4784ea1
Show file tree
Hide file tree
Showing 8 changed files with 1,641 additions and 231 deletions.
3 changes: 3 additions & 0 deletions deps/http_parser/.gitignore
Expand Up @@ -4,5 +4,8 @@ tags
test
test_g
test_fast
url_parser
*.mk
*.Makefile
*.so
*.a
1 change: 1 addition & 0 deletions deps/http_parser/.mailmap
Expand Up @@ -2,3 +2,4 @@
# git log --all --reverse --format='%aN <%aE>' | perl -ne 'BEGIN{print "# Authors ordered by first contribution.\n"} print unless $h{$_}; $h{$_} = 1' > AUTHORS
Ryan Dahl <ry@tinyclouds.org>
Salman Haq <salman.haq@asti-usa.com>
Simon Zimmermann <simonz05@gmail.com>
5 changes: 5 additions & 0 deletions deps/http_parser/AUTHORS
Expand Up @@ -30,3 +30,8 @@ James McLaughlin <jamie@lacewing-project.org>
David Gwynne <loki@animata.net>
LE ROUX Thomas <thomas@procheo.fr>
Randy Rizun <rrizun@ortivawireless.com>
Andre Louis Caron <andre.louis.caron@usherbrooke.ca>
Simon Zimmermann <simonz05@gmail.com>
Erik Dubbelboer <erik@dubbelboer.com>
Martell Malone <martellmalone@gmail.com>
Bertrand Paquet <bpaquet@octo.com>
8 changes: 7 additions & 1 deletion deps/http_parser/Makefile
Expand Up @@ -31,6 +31,12 @@ test_fast: http_parser.o test.o http_parser.h
test.o: test.c http_parser.h Makefile
$(CC) $(CPPFLAGS_FAST) $(CFLAGS_FAST) -c test.c -o $@

url_parser: http_parser_g.o url_parser.o
$(CC) $(CFLAGS_DEBUG) $(LDFLAGS) http_parser_g.o url_parser.o -o $@

url_parser.o: url_parser.c http_parser.h Makefile
$(CC) $(CPPFLAGS_DEBUG) $(CFLAGS_DEBUG) -c url_parser.c -o $@

http_parser.o: http_parser.c http_parser.h Makefile
$(CC) $(CPPFLAGS_FAST) $(CFLAGS_FAST) -c http_parser.c

Expand All @@ -53,6 +59,6 @@ tags: http_parser.c http_parser.h test.c
ctags $^

clean:
rm -f *.o *.a test test_fast test_g http_parser.tar tags libhttp_parser.so libhttp_parser.o
rm -f *.o *.a test test_fast test_g url_parser http_parser.tar tags libhttp_parser.so libhttp_parser.o

.PHONY: clean package test-run test-run-timed test-valgrind

0 comments on commit 4784ea1

Please sign in to comment.