From ff0ebb2f67e51e4ef37088eebef420b0566a45ff Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 17 Nov 2011 14:41:17 +0100 Subject: Fix compilation with new location of server tools. --- server/src/Makefile.am | 2 +- server/src/praxisd.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src') diff --git a/server/src/Makefile.am b/server/src/Makefile.am index 9f3f100..dbf20da 100644 --- a/server/src/Makefile.am +++ b/server/src/Makefile.am @@ -138,7 +138,7 @@ EXTRA_DIST = \ ################ TEST_SOURCE_DEPS = ${pracrod_SOURCES} ${EXTRA_DIST} -TEST_SCRIPT_DIR = $(top_srcdir)/../tools +TEST_SCRIPT_DIR = $(top_srcdir)/tools include ${TEST_SCRIPT_DIR}/Makefile.am.test diff --git a/server/src/praxisd.cc b/server/src/praxisd.cc index a75ad9f..3ccdf0d 100644 --- a/server/src/praxisd.cc +++ b/server/src/praxisd.cc @@ -139,7 +139,7 @@ void Praxisd::journal_add(std::string cpr, std::string entry) // Unset 'Expect' header, set by CURLOPT_POSTFIELDS slist = curl_slist_append(slist, "Expect:"); slist = curl_slist_append(slist, "Content-Type: text/xml"); - slist = curl_slist_append(slist, "Connection: keep-alive"); + // slist = curl_slist_append(slist, "Connection: keep-alive"); curl_easy_setopt(ch, CURLOPT_HTTPHEADER, slist); std::string uri = host + "/praxisd/1.0/journal/add"; -- cgit v1.2.3