diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-08-24 14:51:02 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-08-24 14:51:02 +0000 |
commit | 8c3ea6f58287d4c7382b31f116580898f30aa914 (patch) | |
tree | ff9efdef7915476fbc582b4154558495268b2e88 /src/transport/plugin_transport_http_common.h | |
parent | b0cd5f3c9bf3f87d89fc2f50221cd245b0498b8f (diff) | |
download | gnunet-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.h | 23 |
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 |
31 | GNUNET_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) |
35 | struct 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 | }; | ||
42 | GNUNET_NETWORK_STRUCT_END | ||
43 | #endif | 40 | #endif |
44 | 41 | ||
45 | /** | 42 | /** |