Skip to content

Commit

Permalink
Merge pull request #480 from grumvalski/async_http_mod
Browse files Browse the repository at this point in the history
http_async_client: non-blocking async HTTP client module
  • Loading branch information
grumvalski committed Feb 3, 2016
2 parents c6f7edd + 50fca23 commit 3ba6c44
Show file tree
Hide file tree
Showing 15 changed files with 3,707 additions and 1 deletion.
32 changes: 32 additions & 0 deletions modules/http_async_client/Makefile
@@ -0,0 +1,32 @@
#
# WARNING: do not run this directly, it should be run by the master Makefile

include ../../Makefile.defs
auto_gen=
NAME=http_async_client.so

#ifeq ($(CROSS_COMPILE),)
#CURL_BUILDER=$(shell \
# if pkg-config --exists libcurl; then \
# echo 'pkg-config libcurl'; \
# else \
# which curl-config; \
# fi)
#endif


ifneq ($(CURL_BUILDER),)
DEFS += $(shell $(CURL_BUILDER) --cflags)
LIBS += $(shell $(CURL_BUILDER) --libs)
else
DEFS+=-I$(LOCALBASE)/include -I$(SYSBASE)/include
LIBS+=-L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lcurl -levent
endif

DEFS+=-DKAMAILIO_MOD_INTERFACE

SERLIBPATH=../../lib
SER_LIBS+=$(SERLIBPATH)/srutils/srutils
SER_LIBS+=$(SERLIBPATH)/kcore/kcore

include ../../Makefile.modules

0 comments on commit 3ba6c44

Please sign in to comment.