Changeset 398d1a0 in mod_gnutls
- Timestamp:
- Jan 28, 2015, 7:34:35 AM (6 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
- Children:
- 4261999
- Parents:
- 4fefa39
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_io.c
r4fefa39 r398d1a0 184 184 185 185 static apr_status_t gnutls_io_input_read(mgs_handle_t * ctxt, 186 char *buf, apr_size_t * len) { 186 char *buf, apr_size_t * len) 187 { 187 188 apr_size_t wanted = *len; 188 189 apr_size_t bytes = 0; … … 223 224 224 225 if (ctxt->session == NULL) { 226 ap_log_cerror(APLOG_MARK, APLOG_INFO, 0, ctxt->c, 227 "%s: GnuTLS session is NULL!", __func__); 225 228 return APR_EGENERAL; 226 229 } … … 268 271 if (rc == GNUTLS_E_REHANDSHAKE) { 269 272 /* A client has asked for a new Hankshake. Currently, we don't do it */ 270 ap_log_ error(APLOG_MARK, APLOG_INFO,273 ap_log_cerror(APLOG_MARK, APLOG_INFO, 271 274 ctxt->input_rc, 272 ctxt->c ->base_server,275 ctxt->c, 273 276 "GnuTLS: Error reading data. Client Requested a New Handshake." 274 277 " (%d) '%s'", rc, … … 276 279 } else if (rc == GNUTLS_E_WARNING_ALERT_RECEIVED) { 277 280 rc = gnutls_alert_get(ctxt->session); 278 ap_log_ error(APLOG_MARK, APLOG_INFO,281 ap_log_cerror(APLOG_MARK, APLOG_INFO, 279 282 ctxt->input_rc, 280 ctxt->c ->base_server,283 ctxt->c, 281 284 "GnuTLS: Warning Alert From Client: " 282 285 " (%d) '%s'", rc, … … 284 287 } else if (rc == GNUTLS_E_FATAL_ALERT_RECEIVED) { 285 288 rc = gnutls_alert_get(ctxt->session); 286 ap_log_ error(APLOG_MARK, APLOG_INFO,289 ap_log_cerror(APLOG_MARK, APLOG_INFO, 287 290 ctxt->input_rc, 288 ctxt->c ->base_server,291 ctxt->c, 289 292 "GnuTLS: Fatal Alert From Client: " 290 293 "(%d) '%s'", rc, … … 295 298 /* Some Other Error. Report it. Die. */ 296 299 if (gnutls_error_is_fatal(rc)) { 297 ap_log_ error(APLOG_MARK,300 ap_log_cerror(APLOG_MARK, 298 301 APLOG_INFO, 299 302 ctxt->input_rc, 300 ctxt->c ->base_server,303 ctxt->c, 301 304 "GnuTLS: Error reading data. (%d) '%s'", 302 305 rc,
Note: See TracChangeset
for help on using the changeset viewer.