View | Details | Raw Unified | Return to bug 59987
Collapse All | Expand All

(-)server/mpm_unix.c (-1 / +6 lines)
Lines 705-711 Link Here
705
        len = strlen(data);
705
        len = strlen(data);
706
    }
706
    }
707
707
708
    apr_socket_send(sock, data, &len);
708
    rv = apr_socket_send(sock, data, &len);
709
    if (rv != APR_SUCCESS) {
710
        ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf, APLOGNO()
711
                     "Send data failed");
712
    }
713
    
709
    apr_socket_close(sock);
714
    apr_socket_close(sock);
710
    apr_pool_destroy(p);
715
    apr_pool_destroy(p);
711
716
(-)modules/proxy/proxy_util.c (-1 / +6 lines)
Lines 2588-2594 Link Here
2588
                           "Proxy-agent: %s" CRLF CRLF,
2588
                           "Proxy-agent: %s" CRLF CRLF,
2589
                           ap_get_server_banner());
2589
                           ap_get_server_banner());
2590
    ap_xlate_proto_to_ascii(buffer, nbytes);
2590
    ap_xlate_proto_to_ascii(buffer, nbytes);
2591
    apr_socket_send(backend->sock, buffer, &nbytes);
2591
    
2592
    status = apr_socket_send(backend->sock, buffer, &nbytes);
2593
    if (status != APR_SUCCESS) {
2594
        ap_log_error(APLOG_MARK, APLOG_ERR, status, s, APLOGNO()
2595
                     "Send data failed");
2596
    }
2592
2597
2593
    /* Receive the whole CONNECT response */
2598
    /* Receive the whole CONNECT response */
2594
    left = sizeof(buffer) - 1;
2599
    left = sizeof(buffer) - 1;

Return to bug 59987