aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/connection_https.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/connection_https.c')
-rw-r--r--src/daemon/connection_https.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/connection_https.c b/src/daemon/connection_https.c
index 20baa770..e9a2226f 100644
--- a/src/daemon/connection_https.c
+++ b/src/daemon/connection_https.c
@@ -152,7 +152,7 @@ MHD_tls_connection_handle_idle (struct MHD_Connection *connection)
152 return MHD_NO; 152 return MHD_NO;
153 case MHD_TLS_HANDSHAKE_FAILED: 153 case MHD_TLS_HANDSHAKE_FAILED:
154 MHD_tls_connection_close (connection, 154 MHD_tls_connection_close (connection,
155 MHD_TLS_REQUEST_TERMINATED_WITH_ERROR); 155 MHD_REQUEST_TERMINATED_WITH_ERROR);
156 return MHD_NO; 156 return MHD_NO;
157 /* some HTTP state */ 157 /* some HTTP state */
158 default: 158 default:
@@ -237,14 +237,14 @@ MHD_tls_connection_handle_read (struct MHD_Connection *connection)
237 "Error: received handshake message out of context\n"); 237 "Error: received handshake message out of context\n");
238#endif 238#endif
239 MHD_tls_connection_close (connection, 239 MHD_tls_connection_close (connection,
240 MHD_TLS_REQUEST_TERMINATED_WITH_ERROR); 240 MHD_REQUEST_TERMINATED_WITH_ERROR);
241 return MHD_NO; 241 return MHD_NO;
242 } 242 }
243 243
244 /* ignore any out of bound change chiper spec messages */ 244 /* ignore any out of bound change chiper spec messages */
245 case GNUTLS_CHANGE_CIPHER_SPEC: 245 case GNUTLS_CHANGE_CIPHER_SPEC:
246 MHD_tls_connection_close (connection, 246 MHD_tls_connection_close (connection,
247 MHD_TLS_REQUEST_TERMINATED_WITH_ERROR); 247 MHD_REQUEST_TERMINATED_WITH_ERROR);
248 return MHD_NO; 248 return MHD_NO;
249 249
250 case GNUTLS_ALERT: 250 case GNUTLS_ALERT:
@@ -279,7 +279,7 @@ MHD_tls_connection_handle_read (struct MHD_Connection *connection)
279 GNUTLS_AL_FATAL) 279 GNUTLS_AL_FATAL)
280 { 280 {
281 MHD_tls_connection_close (connection, 281 MHD_tls_connection_close (connection,
282 MHD_TLS_REQUEST_TERMINATED_WITH_FATAL_ALERT); 282 MHD_REQUEST_TERMINATED_WITH_ERROR);
283 return MHD_NO; 283 return MHD_NO;
284 } 284 }
285 /* this should never execute */ 285 /* this should never execute */
@@ -308,7 +308,7 @@ MHD_tls_connection_handle_read (struct MHD_Connection *connection)
308#endif 308#endif
309 /* close connection upon reception of unrecognized message type */ 309 /* close connection upon reception of unrecognized message type */
310 MHD_tls_connection_close (connection, 310 MHD_tls_connection_close (connection,
311 MHD_TLS_REQUEST_TERMINATED_WITH_ERROR); 311 MHD_REQUEST_TERMINATED_WITH_ERROR);
312 return MHD_NO; 312 return MHD_NO;
313 } 313 }
314 314