- Timestamp:
- Jan 28, 2015, 6:44:08 AM (6 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
- Children:
- 398d1a0
- Parents:
- beb14d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_io.c
rbeb14d9 r4fefa39 45 45 46 46 switch (status) { 47 case HTTP_BAD_REQUEST: 48 /* log the situation */ 49 ap_log_error(APLOG_MARK, APLOG_INFO, 0, 50 f->c->base_server, 51 "GnuTLS handshake failed: HTTP spoken on HTTPS port; " 52 "trying to send HTML error page"); 53 54 mgs_srvconf_rec *sc = (mgs_srvconf_rec *) ap_get_module_config( 55 f->c->base_server->module_config, 56 &gnutls_module 57 ); 58 ctxt->status = -1; 59 sc->non_ssl_request = 1; 60 61 /* fake the request line */ 62 bucket = HTTP_ON_HTTPS_PORT_BUCKET(f->c->bucket_alloc); 63 break; 64 65 default: 66 return status; 47 case HTTP_BAD_REQUEST: 48 /* log the situation */ 49 ap_log_error(APLOG_MARK, APLOG_INFO, 0, 50 f->c->base_server, 51 "GnuTLS handshake failed: HTTP spoken on HTTPS port; " 52 "trying to send HTML error page"); 53 mgs_srvconf_rec *sc = (mgs_srvconf_rec *) 54 ap_get_module_config(f->c->base_server->module_config, 55 &gnutls_module); 56 ctxt->status = -1; 57 sc->non_ssl_request = 1; 58 59 /* fake the request line */ 60 bucket = HTTP_ON_HTTPS_PORT_BUCKET(f->c->bucket_alloc); 61 break; 62 63 default: 64 return status; 67 65 } 68 66
Note: See TracChangeset
for help on using the changeset viewer.