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

(-)a/modules/proxy/mod_proxy_connect.c (-1 / +10 lines)
Lines 545-552 static int proxy_connect_handler(request_rec *r, proxy_worker *worker, Link Here
545
                        ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
545
                        ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
546
                                      "%s write shutdown", conns[out].name);
546
                                      "%s write shutdown", conns[out].name);
547
#endif
547
#endif
548
                        apr_socket_shutdown(conns[out].pfd.desc.s, 1);
548
                        rv = apr_socket_shutdown(conns[out].pfd.desc.s, 1);
549
                        conns[out].shutdown |= PROXY_SHUTDOWN_WRITE;
549
                        conns[out].shutdown |= PROXY_SHUTDOWN_WRITE;
550
                        /* broken socket, give up */
551
                        if ( rv != APR_SUCCESS ) {
552
                            done = 1;
553
#ifdef DEBUGGING
554
                            ap_log_rerror(APLOG_MARK, APLOG_DEBUG, rv, r,
555
                                      "%s write shutdown failed. Bailing out.",
556
                                      conns[out].name);
557
#endif
558
                        }
550
                    }
559
                    }
551
                    else {
560
                    else {
552
                        pollset_add_conn(pollset, &conns[in], APR_POLLIN);
561
                        pollset_add_conn(pollset, &conns[in], APR_POLLIN);

Return to bug 61616