connection.c revision 943016cae7a40f689cc0b65fd8cf8d4250a21352
7bb9ba8688ec1ca930d693eea05e936bc38f6d1bSumit Bose/* Licensed to the Apache Software Foundation (ASF) under one or more
7bb9ba8688ec1ca930d693eea05e936bc38f6d1bSumit Bose * contributor license agreements. See the NOTICE file distributed with
7bb9ba8688ec1ca930d693eea05e936bc38f6d1bSumit Bose * this work for additional information regarding copyright ownership.
7bb9ba8688ec1ca930d693eea05e936bc38f6d1bSumit Bose * The ASF licenses this file to You under the Apache License, Version 2.0
7bb9ba8688ec1ca930d693eea05e936bc38f6d1bSumit Bose * (the "License"); you may not use this file except in compliance with
7bb9ba8688ec1ca930d693eea05e936bc38f6d1bSumit Bose * the License. You may obtain a copy of the License at
#include "apr.h"
#include "apr_strings.h"
#include "ap_config.h"
#include "httpd.h"
#include "http_connection.h"
#include "http_request.h"
#include "http_protocol.h"
#include "ap_mpm.h"
#include "http_config.h"
#include "http_core.h"
#include "http_vhost.h"
#include "scoreboard.h"
#include "http_log.h"
#include "util_filter.h"
(apr_pool_t *p, server_rec *server, apr_socket_t *csd, long conn_id, void *sbh, apr_bucket_alloc_t *alloc),
* NO_LINGCLOSE in ap_config.h if such is the case for your system.
#ifndef MAX_SECS_TO_LINGER
apr_bucket *b;
if (!csd) {
if (c->sbh) {
#ifdef NO_LINGCLOSE
ap_flush_conn(c);
if (c->aborted) {
|| c->aborted) {
if (ap_start_lingering_close(c)) {
if (timeup == 0) {
int rc;
if (!c->aborted) {