diff options
Diffstat (limited to 'src/examples/mhd2spdy.c')
-rw-r--r-- | src/examples/mhd2spdy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/examples/mhd2spdy.c b/src/examples/mhd2spdy.c index e44d3269..3d5c2e17 100644 --- a/src/examples/mhd2spdy.c +++ b/src/examples/mhd2spdy.c | |||
@@ -23,6 +23,7 @@ | |||
23 | * TODOs: | 23 | * TODOs: |
24 | * - non blocking SSL connect | 24 | * - non blocking SSL connect |
25 | * - check certificate | 25 | * - check certificate |
26 | * - on closing spdy session, close sockets for all requests | ||
26 | * @author Andrey Uzunov | 27 | * @author Andrey Uzunov |
27 | */ | 28 | */ |
28 | 29 | ||
@@ -87,7 +88,7 @@ run_everything () | |||
87 | 88 | ||
88 | glob_opt.streams_opened = 0; | 89 | glob_opt.streams_opened = 0; |
89 | glob_opt.responses_pending = 0; | 90 | glob_opt.responses_pending = 0; |
90 | glob_opt.global_memory = 0; | 91 | //glob_opt.global_memory = 0; |
91 | 92 | ||
92 | srand(time(NULL)); | 93 | srand(time(NULL)); |
93 | 94 | ||
@@ -217,7 +218,7 @@ run_everything () | |||
217 | EVP_cleanup(); | 218 | EVP_cleanup(); |
218 | 219 | ||
219 | PRINT_INFO2("spdy streams: %i; http requests: %i", glob_opt.streams_opened, glob_opt.responses_pending); | 220 | PRINT_INFO2("spdy streams: %i; http requests: %i", glob_opt.streams_opened, glob_opt.responses_pending); |
220 | PRINT_INFO2("memory allocated %zu bytes", glob_opt.global_memory); | 221 | //PRINT_INFO2("memory allocated %zu bytes", glob_opt.global_memory); |
221 | 222 | ||
222 | print_stat(); | 223 | print_stat(); |
223 | 224 | ||