summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2015-08-17 14:16:45 +0200
committerMichael Brown2015-08-17 14:24:40 +0200
commitfd18417cf1208399bfa0153c6ec26c268d2f948e (patch)
tree841aaa5488418c96d4d9871ad27d2a26f90ecbc9 /src/config
parent[peerdist] Add block download multiplexer (diff)
downloadipxe-fd18417cf1208399bfa0153c6ec26c268d2f948e.tar.gz
ipxe-fd18417cf1208399bfa0153c6ec26c268d2f948e.tar.xz
ipxe-fd18417cf1208399bfa0153c6ec26c268d2f948e.zip
[peerdist] Add support for PeerDist (aka BranchCache) HTTP content encoding
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_http.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config_http.c b/src/config/config_http.c
index f1f1b59c..3f198d22 100644
--- a/src/config/config_http.c
+++ b/src/config/config_http.c
@@ -40,3 +40,6 @@ REQUIRE_OBJECT ( httpbasic );
#ifdef HTTP_AUTH_DIGEST
REQUIRE_OBJECT ( httpdigest );
#endif
+#ifdef HTTP_ENC_PEERDIST
+REQUIRE_OBJECT ( peerdist );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index 1ebea57e..ee15f6bf 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -75,6 +75,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
*/
#define HTTP_AUTH_BASIC /* Basic authentication */
#define HTTP_AUTH_DIGEST /* Digest authentication */
+//#define HTTP_ENC_PEERDIST /* PeerDist content encoding */
/*
* 802.11 cryptosystems and handshaking protocols