Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

connection.c File Reference

#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 "mpm_default.h"
#include "http_config.h"
#include "http_core.h"
#include "http_vhost.h"
#include "scoreboard.h"
#include "http_log.h"
#include "util_filter.h"

Include dependency graph for connection.c:

Go to the source code of this file.

Defines

#define CORE_PRIVATE
#define MAX_SECS_TO_LINGER   30
#define SECONDS_TO_LINGER   2

Functions

 APR_HOOK_STRUCT ()
 AP_DECLARE (void)
 AP_CORE_DECLARE (void)


Define Documentation

#define CORE_PRIVATE
 

Definition at line 20 of file connection.c.

#define MAX_SECS_TO_LINGER   30
 

Referenced by AP_DECLARE().

#define SECONDS_TO_LINGER   2
 

Definition at line 97 of file connection.c.

Referenced by AP_DECLARE().


Function Documentation

AP_CORE_DECLARE void   ) 
 

Definition at line 165 of file connection.c.

References AP_CORE_DECLARE, DONE, and OK.

AP_DECLARE void   ) 
 

Send the minimal part of an HTTP response header.

Parameters:
r The current request
bb The brigade to add the header to.
Warning:
Modules should be very careful about using this, and should the default behavior. Much of the HTTP/1.1 implementation correctness depends on the full headers. void ap_basic_http_header(request_rec *r, apr_bucket_brigade *bb)

Definition at line 98 of file connection.c.

References AP_DECLARE, ap_get_module_config, APR_INCOMPLETE_READ, apr_recv(), apr_shutdown(), APR_SHUTDOWN_WRITE, apr_socket_close(), apr_socket_opt_set(), apr_socket_timeout_set(), APR_SUCCESS, apr_time_from_sec, core_module, MAX_SECS_TO_LINGER, nbytes, NULL, SECONDS_TO_LINGER, SERVER_CLOSING, and timeout.

Here is the call graph for this function:

APR_HOOK_STRUCT  ) 
 

Definition at line 35 of file connection.c.

References APR_BRIGADE_INSERT_TAIL, b, and bb.