1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<link rel="STYLESHEET" href="modpython.css" type='text/css'>
5
<link rel="first" href="modpython.html" title='Mod_python Manual'>
6
<link rel='contents' href='contents.html' title="Contents">
7
<link rel='index' href='genindex.html' title='Index'>
8
<link rel='last' href='about.html' title='About this document...'>
9
<link rel='help' href='about.html' title='About this document...'>
10
<LINK REL="next" href="module-apache.html">
11
<LINK REL="prev" href="pyapi-filter.html">
12
<LINK REL="parent" href="pythonapi.html">
13
<LINK REL="next" href="module-apache.html">
14
<meta name='aesop' content='information'>
15
<META NAME="description" CONTENT="Overview of a Connection Handler">
16
<META NAME="keywords" CONTENT="modpython">
17
<META NAME="resource-type" CONTENT="document">
18
<META NAME="distribution" CONTENT="global">
4
<link rel="STYLESHEET" href="modpython.css" type='text/css' />
5
<link rel="first" href="modpython.html" title='Mod_python Manual' />
6
<link rel='contents' href='contents.html' title="Contents" />
7
<link rel='index' href='genindex.html' title='Index' />
8
<link rel='last' href='about.html' title='About this document...' />
9
<link rel='help' href='about.html' title='About this document...' />
10
<link rel="next" href="module-apache.html" />
11
<link rel="prev" href="pyapi-filter.html" />
12
<link rel="parent" href="pythonapi.html" />
13
<link rel="next" href="module-apache.html" />
14
<meta name='aesop' content='information' />
19
15
<title>4.4 Overview of a Connection Handler</title>
22
18
<DIV CLASS="navigation">
19
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
23
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
25
<td><a rel="prev" title="4.3 Overview of a"
26
href="pyapi-filter.html"><img src='previous.gif'
27
border='0' height='32' alt='Previous Page' width='32'></A></td>
28
<td><a rel="parent" title="4. Python API"
29
href="pythonapi.html"><img src='up.gif'
30
border='0' height='32' alt='Up One Level' width='32'></A></td>
31
<td><a rel="next" title="4.5 apache - Access"
32
href="module-apache.html"><img src='next.gif'
33
border='0' height='32' alt='Next Page' width='32'></A></td>
22
<td class='online-navigation'><a rel="prev" title="4.3 Overview of a"
23
href="pyapi-filter.html"><img src='previous.png'
24
border='0' height='32' alt='Previous Page' width='32' /></A></td>
25
<td class='online-navigation'><a rel="parent" title="4. Python API"
26
href="pythonapi.html"><img src='up.png'
27
border='0' height='32' alt='Up One Level' width='32' /></A></td>
28
<td class='online-navigation'><a rel="next" title="4.5 apache - Access"
29
href="module-apache.html"><img src='next.png'
30
border='0' height='32' alt='Next Page' width='32' /></A></td>
34
31
<td align="center" width="100%">Mod_python Manual</td>
35
<td><a rel="contents" title="Table of Contents"
36
href="contents.html"><img src='contents.gif'
37
border='0' height='32' alt='Contents' width='32'></A></td>
38
<td><img src='blank.gif'
39
border='0' height='32' alt='' width='32'></td>
40
<td><a rel="index" title="Index"
41
href="genindex.html"><img src='index.gif'
42
border='0' height='32' alt='Index' width='32'></A></td>
32
<td class='online-navigation'><a rel="contents" title="Table of Contents"
33
href="contents.html"><img src='contents.png'
34
border='0' height='32' alt='Contents' width='32' /></A></td>
35
<td class='online-navigation'><img src='blank.png'
36
border='0' height='32' alt='' width='32' /></td>
37
<td class='online-navigation'><a rel="index" title="Index"
38
href="genindex.html"><img src='index.png'
39
border='0' height='32' alt='Index' width='32' /></A></td>
41
<div class='online-navigation'>
44
42
<b class="navlabel">Previous:</b>
45
43
<a class="sectref" rel="prev" href="pyapi-filter.html">4.3 Overview of a</A>
46
44
<b class="navlabel">Up:</b>
47
45
<a class="sectref" rel="parent" href="pythonapi.html">4. Python API</A>
48
46
<b class="navlabel">Next:</b>
49
47
<a class="sectref" rel="next" href="module-apache.html">4.5 apache - Access</A>
52
51
<!--End of Navigation Panel-->
54
<H1><A NAME="SECTION006400000000000000000"> </A>
53
<H1><A NAME="SECTION006400000000000000000"></A><A NAME="pyapi-conn"></A>
56
55
4.4 Overview of a Connection Handler
58
<a name="l2h-28"> </a>
57
<a id='l2h-28' xml:id='l2h-28'></a>
60
59
A <i class="dfn">connection handler</i> handles the connection, starting almost
61
60
immediately from the point the TCP connection to the server was
65
Unlike HTTP handlers, connection handlers receive a <i>connection</i>
64
Unlike HTTP handlers, connection handlers receive a <em>connection</em>
66
65
object as an argument.
95
94
<DIV CLASS="navigation">
95
<div class='online-navigation'>
97
97
<table align="center" width="100%" cellpadding="0" cellspacing="2">
99
<td><a rel="prev" title="4.3 Overview of a"
100
rel="prev" title="4.3 Overview of a"
101
href="pyapi-filter.html"><img src='previous.gif'
102
border='0' height='32' alt='Previous Page' width='32'></A></td>
103
<td><a rel="parent" title="4. Python API"
104
rel="parent" title="4. Python API"
105
href="pythonapi.html"><img src='up.gif'
106
border='0' height='32' alt='Up One Level' width='32'></A></td>
107
<td><a rel="next" title="4.5 apache - Access"
108
rel="next" title="4.5 apache - Access"
109
href="module-apache.html"><img src='next.gif'
110
border='0' height='32' alt='Next Page' width='32'></A></td>
99
<td class='online-navigation'><a rel="prev" title="4.3 Overview of a"
100
href="pyapi-filter.html"><img src='previous.png'
101
border='0' height='32' alt='Previous Page' width='32' /></A></td>
102
<td class='online-navigation'><a rel="parent" title="4. Python API"
103
href="pythonapi.html"><img src='up.png'
104
border='0' height='32' alt='Up One Level' width='32' /></A></td>
105
<td class='online-navigation'><a rel="next" title="4.5 apache - Access"
106
href="module-apache.html"><img src='next.png'
107
border='0' height='32' alt='Next Page' width='32' /></A></td>
111
108
<td align="center" width="100%">Mod_python Manual</td>
112
<td><a rel="contents" title="Table of Contents"
113
rel="contents" title="Table of Contents"
114
href="contents.html"><img src='contents.gif'
115
border='0' height='32' alt='Contents' width='32'></A></td>
116
<td><img src='blank.gif'
117
border='0' height='32' alt='' width='32'></td>
118
<td><a rel="index" title="Index"
119
rel="index" title="Index"
120
href="genindex.html"><img src='index.gif'
121
border='0' height='32' alt='Index' width='32'></A></td>
109
<td class='online-navigation'><a rel="contents" title="Table of Contents"
110
href="contents.html"><img src='contents.png'
111
border='0' height='32' alt='Contents' width='32' /></A></td>
112
<td class='online-navigation'><img src='blank.png'
113
border='0' height='32' alt='' width='32' /></td>
114
<td class='online-navigation'><a rel="index" title="Index"
115
href="genindex.html"><img src='index.png'
116
border='0' height='32' alt='Index' width='32' /></A></td>
118
<div class='online-navigation'>
123
119
<b class="navlabel">Previous:</b>
124
120
<a class="sectref" rel="prev" href="pyapi-filter.html">4.3 Overview of a</A>
125
121
<b class="navlabel">Up:</b>
126
122
<a class="sectref" rel="parent" href="pythonapi.html">4. Python API</A>
127
123
<b class="navlabel">Next:</b>
128
124
<a class="sectref" rel="next" href="module-apache.html">4.5 apache - Access</A>
130
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
128
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
132
130
<!--End of Navigation Panel-->