diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index f9f15cec..cf2bfaa1 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -114,16 +114,6 @@ | |||
114 | #define INTERNAL_ERROR "" | 114 | #define INTERNAL_ERROR "" |
115 | #endif | 115 | #endif |
116 | 116 | ||
117 | /** | ||
118 | * Add extra debug messages with reasons for closing connections | ||
119 | * (non-error reasons). | ||
120 | */ | ||
121 | #define DEBUG_CLOSE MHD_NO | ||
122 | |||
123 | /** | ||
124 | * Should all data send be printed to stderr? | ||
125 | */ | ||
126 | #define DEBUG_SEND_DATA MHD_NO | ||
127 | 117 | ||
128 | 118 | ||
129 | /** | 119 | /** |
@@ -2933,7 +2923,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
2933 | NULL); | 2923 | NULL); |
2934 | return; | 2924 | return; |
2935 | } | 2925 | } |
2936 | #if DEBUG_SEND_DATA | 2926 | #if _MHD_DEBUG_SEND_DATA |
2937 | fprintf (stderr, | 2927 | fprintf (stderr, |
2938 | _ ("Sent 100 continue response: `%.*s'\n"), | 2928 | _ ("Sent 100 continue response: `%.*s'\n"), |
2939 | (int) ret, | 2929 | (int) ret, |
@@ -3037,7 +3027,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
3037 | response->data_size | 3027 | response->data_size |
3038 | - (size_t) data_write_offset, | 3028 | - (size_t) data_write_offset, |
3039 | MHD_SSO_NO_CORK); | 3029 | MHD_SSO_NO_CORK); |
3040 | #if DEBUG_SEND_DATA | 3030 | #if _MHD_DEBUG_SEND_DATA |
3041 | if (ret > 0) | 3031 | if (ret > 0) |
3042 | fprintf (stderr, | 3032 | fprintf (stderr, |
3043 | _ ("Sent %d-byte DATA response: `%.*s'\n"), | 3033 | _ ("Sent %d-byte DATA response: `%.*s'\n"), |