Mercurial > trustbridge
comparison ui/downloader.cpp @ 35:56ba6376426e
Add note about connection resets
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 14 Mar 2014 08:58:46 +0100 |
parents | d8e93fa1fc93 |
children | c6125d73faf4 |
comparison
equal
deleted
inserted
replaced
34:bee7d274c4dc | 35:56ba6376426e |
---|---|
26 #define MAX_IO_TRIES 10 | 26 #define MAX_IO_TRIES 10 |
27 | 27 |
28 #define LIST_RESOURCE "/incoming/aheinecke/test" | 28 #define LIST_RESOURCE "/incoming/aheinecke/test" |
29 #define SW_RESOURCE "/incoming/aheinecke/test" | 29 #define SW_RESOURCE "/incoming/aheinecke/test" |
30 | 30 |
31 /* TODO: Wrap ssl_session in a class for reuse. | |
32 * see programs/ssl/ssl_client2.c for example of session reuse */ | |
31 | 33 |
32 #ifdef CONNECTION_DEBUG | 34 #ifdef CONNECTION_DEBUG |
33 static void my_debug(void *ctx, int level, const char *str) | 35 static void my_debug(void *ctx, int level, const char *str) |
34 { | 36 { |
35 fprintf((FILE *) ctx, "%s", str); | 37 fprintf((FILE *) ctx, "%s", str); |