aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_http_common.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-08-24 14:51:02 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-08-24 14:51:02 +0000
commit8c3ea6f58287d4c7382b31f116580898f30aa914 (patch)
treeff9efdef7915476fbc582b4154558495268b2e88 /src/transport/plugin_transport_http_common.h
parentb0cd5f3c9bf3f87d89fc2f50221cd245b0498b8f (diff)
downloadgnunet-8c3ea6f58287d4c7382b31f116580898f30aa914.tar.gz
gnunet-8c3ea6f58287d4c7382b31f116580898f30aa914.zip
changes
Diffstat (limited to 'src/transport/plugin_transport_http_common.h')
-rw-r--r--src/transport/plugin_transport_http_common.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/transport/plugin_transport_http_common.h b/src/transport/plugin_transport_http_common.h
index 075573d7a..0f83da6b3 100644
--- a/src/transport/plugin_transport_http_common.h
+++ b/src/transport/plugin_transport_http_common.h
@@ -27,19 +27,16 @@
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_common.h" 28#include "gnunet_common.h"
29 29
30#if 0 30#define TESTING GNUNET_NO
31GNUNET_NETWORK_STRUCT_BEGIN 31
32/** 32#if TESTING
33 * HTTP addresses including a full URI 33#define TIMEOUT_LOG GNUNET_ERROR_TYPE_ERROR
34 */ 34#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15)
35struct HttpAddress 35#define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5)
36{ 36#else
37 /** 37#define HTTP_NOT_VALIDATED_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15)
38 * Address following 38#define TIMEOUT_LOG GNUNET_ERROR_TYPE_DEBUG
39 */ 39#define TIMEOUT GNUNET_CONSTANTS_IDLE_CONNECTION_TIMEOUT
40 char *address GNUNET_PACKED;
41};
42GNUNET_NETWORK_STRUCT_END
43#endif 40#endif
44 41
45/** 42/**