Changeset b22def6 in mod_gnutls


Ignore:
Timestamp:
Jan 14, 2020, 4:21:56 AM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
407ca6e
Parents:
05e2d9e
Message:

Remove SIGPIPE signal block

There's no discernible reason to keep this, the main HTTPD code
doesn't use it at all, and the proxy code with which it was originally
added in 33826c53d7991024eeed255f860e9818188e2bcb works fine without
it.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    r05e2d9e rb22def6  
    261261
    262262
    263 /* apr_signal_block() for blocking SIGPIPE */
    264 apr_status_t apr_signal_block(int signum);
    265 
    266263/* Proxy Support */
    267264/* An optional function which returns non-zero if the given connection
  • src/gnutls_hooks.c

    r05e2d9e rb22def6  
    834834        ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s,
    835835                     "Failed to reinit mutex '" MGS_OCSP_MUTEX_NAME "'.");
    836 
    837     /* Block SIGPIPE Signals */
    838     rv = apr_signal_block(SIGPIPE);
    839     if(rv != APR_SUCCESS) {
    840         /* error sending output */
    841         ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s,
    842                 "GnuTLS: Error Blocking SIGPIPE Signal!");
    843     }
    844836}
    845837
Note: See TracChangeset for help on using the changeset viewer.