~ubuntu-branches/ubuntu/warty/libapache2-mod-python/warty

« back to all changes in this revision

Viewing changes to doc-html/pyapi-mpconn-mem.html

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-09-06 20:27:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040906202757-yzpyu1bcabgpjtiu
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<title>4.5.4.2 Connection Members</title>
 
5
<META NAME="description" CONTENT="4.5.4.2 Connection Members">
 
6
<META NAME="keywords" CONTENT="modpython">
 
7
<META NAME="resource-type" CONTENT="document">
 
8
<META NAME="distribution" CONTENT="global">
 
9
<link rel="STYLESHEET" href="modpython.css">
 
10
<link rel="first" href="modpython.html">
 
11
<link rel="contents" href="contents.html" title="Contents">
 
12
<link rel="index" href="genindex.html" title="Index">
 
13
<LINK REL="previous" href="pyapi-mpconn-meth.html">
 
14
<LINK REL="up" href="pyapi-mpconn.html">
 
15
<LINK REL="next" href="pyapi-mpfilt.html">
 
16
</head>
 
17
<body>
 
18
<DIV CLASS="navigation">
 
19
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
20
<tr>
 
21
<td><A href="pyapi-mpconn-meth.html"><img src="icons/previous.gif"
 
22
  border="0" height="32"
 
23
  alt="Previous Page" width="32"></A></td>
 
24
<td><A href="pyapi-mpconn.html"><img src="icons/up.gif"
 
25
  border="0" height="32"
 
26
  alt="Up One Level" width="32"></A></td>
 
27
<td><A href="pyapi-mpfilt.html"><img src="icons/next.gif"
 
28
  border="0" height="32"
 
29
  alt="Next Page" width="32"></A></td>
 
30
<td align="center" width="100%">Mod_python Manual</td>
 
31
<td><A href="contents.html"><img src="icons/contents.gif"
 
32
  border="0" height="32"
 
33
  alt="Contents" width="32"></A></td>
 
34
<td><img src="icons/blank.gif"
 
35
  border="0" height="32"
 
36
  alt="" width="32"></td>
 
37
<td><A href="genindex.html"><img src="icons/index.gif"
 
38
  border="0" height="32"
 
39
  alt="Index" width="32"></A></td>
 
40
</tr></table>
 
41
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpconn-meth.html">4.5.4.1 Connection Methods</A>
 
42
<b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpconn.html">4.5.4 Connection Object (mp_conn)&nbsp;</A>
 
43
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-mpfilt.html">4.5.5 Filter Object (mp_filter)&nbsp;</A>
 
44
<br><hr>
 
45
</DIV>
 
46
<!--End of Navigation Panel-->
 
47
 
 
48
<H3><A NAME="SECTION006542000000000000000">&nbsp;</A>
 
49
<BR>
 
50
4.5.4.2 Connection Members
 
51
</H3>
 
52
 
 
53
<P>
 
54
<dl><dt><b><a name="l2h-116"><tt class="member">base_server</tt></a></b>
 
55
<dd>
 
56
  A <code>server</code> object for the physical vhost that this connection came in
 
57
  through.
 
58
  <i>(Read-Only</i>)
 
59
</dl>
 
60
 
 
61
<P>
 
62
<dl><dt><b><a name="l2h-117"><tt class="member">local_addr</tt></a></b>
 
63
<dd>
 
64
  The (address, port) tuple for the server.
 
65
  <i>(Read-Only</i>)
 
66
</dl>
 
67
 
 
68
<P>
 
69
<dl><dt><b><a name="l2h-118"><tt class="member">remote_addr</tt></a></b>
 
70
<dd>
 
71
  The (address, port) tuple for the client.
 
72
  <i>(Read-Only</i>)
 
73
</dl>
 
74
 
 
75
<P>
 
76
<dl><dt><b><a name="l2h-119"><tt class="member">remote_ip</tt></a></b>
 
77
<dd>
 
78
  String with the IP of the client. Same as CGI <a class="envvar" name="l2h-130">REMOTE_ADDR</a>.
 
79
  <i>(Read-Only</i>)
 
80
</dl>
 
81
 
 
82
<P>
 
83
<dl><dt><b><a name="l2h-120"><tt class="member">remote_host</tt></a></b>
 
84
<dd>
 
85
  String. The DNS name of the remote client. None if DNS has not been
 
86
  checked, <code>""</code> (empty string) if no name found. Same as CGI <a class="envvar" name="l2h-131">REMOTE_HOST</a>.
 
87
  <i>(Read-Only</i>)
 
88
</dl>
 
89
 
 
90
<P>
 
91
<dl><dt><b><a name="l2h-121"><tt class="member">remote_logname</tt></a></b>
 
92
<dd>
 
93
  Remote name if using RFC1413 (ident). Same as CGI <a class="envvar" name="l2h-132">REMOTE_IDENT</a>.
 
94
  <i>(Read-Only</i>)
 
95
</dl>
 
96
 
 
97
<P>
 
98
<dl><dt><b><a name="l2h-122"><tt class="member">aborted</tt></a></b>
 
99
<dd>
 
100
  Boolean. True is the connection is aborted.
 
101
  <i>(Read-Only</i>)
 
102
</dl>
 
103
 
 
104
<P>
 
105
<dl><dt><b><a name="l2h-123"><tt class="member">keepalive</tt></a></b>
 
106
<dd>
 
107
  Integer. 1 means the connection will be kept for the next request, 0 means
 
108
  ``undecided'', -1 means ``fatal error''.
 
109
  <i>(Read-Only</i>)
 
110
</dl>
 
111
 
 
112
<P>
 
113
<dl><dt><b><a name="l2h-124"><tt class="member">double_reverse</tt></a></b>
 
114
<dd>
 
115
  Integer. 1 means double reverse DNS lookup has been performed, 0 means
 
116
  not yet, -1 means yes and it failed.
 
117
  <i>(Read-Only</i>)
 
118
</dl>
 
119
 
 
120
<P>
 
121
<dl><dt><b><a name="l2h-125"><tt class="member">keepalives</tt></a></b>
 
122
<dd>
 
123
  The number of times this connection has been used. (?)
 
124
  <i>(Read-Only</i>)
 
125
</dl>
 
126
 
 
127
<P>
 
128
<dl><dt><b><a name="l2h-126"><tt class="member">local_ip</tt></a></b>
 
129
<dd>
 
130
  String with the IP of the server.
 
131
  <i>(Read-Only</i>)
 
132
</dl>
 
133
 
 
134
<P>
 
135
<dl><dt><b><a name="l2h-127"><tt class="member">local_host</tt></a></b>
 
136
<dd>
 
137
  DNS name of the server.
 
138
  <i>(Read-Only</i>)
 
139
</dl>
 
140
 
 
141
<P>
 
142
<dl><dt><b><a name="l2h-128"><tt class="member">id</tt></a></b>
 
143
<dd>
 
144
  Long. A unique connection id.
 
145
  <i>(Read-Only</i>)
 
146
</dl>
 
147
 
 
148
<P>
 
149
<dl><dt><b><a name="l2h-129"><tt class="member">notes</tt></a></b>
 
150
<dd>
 
151
  A <code>table</code> object containing miscellaneous general purpose info that lives for
 
152
  as long as the connection lives. 
 
153
</dl>
 
154
 
 
155
<P>
 
156
 
 
157
<DIV CLASS="navigation">
 
158
<p><hr>
 
159
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
160
<tr>
 
161
<td><A href="pyapi-mpconn-meth.html"><img src="icons/previous.gif"
 
162
  border="0" height="32"
 
163
  alt="Previous Page" width="32"></A></td>
 
164
<td><A href="pyapi-mpconn.html"><img src="icons/up.gif"
 
165
  border="0" height="32"
 
166
  alt="Up One Level" width="32"></A></td>
 
167
<td><A href="pyapi-mpfilt.html"><img src="icons/next.gif"
 
168
  border="0" height="32"
 
169
  alt="Next Page" width="32"></A></td>
 
170
<td align="center" width="100%">Mod_python Manual</td>
 
171
<td><A href="contents.html"><img src="icons/contents.gif"
 
172
  border="0" height="32"
 
173
  alt="Contents" width="32"></A></td>
 
174
<td><img src="icons/blank.gif"
 
175
  border="0" height="32"
 
176
  alt="" width="32"></td>
 
177
<td><A href="genindex.html"><img src="icons/index.gif"
 
178
  border="0" height="32"
 
179
  alt="Index" width="32"></A></td>
 
180
</tr></table>
 
181
<b class="navlabel">Previous:</b> <a class="sectref" href="pyapi-mpconn-meth.html">4.5.4.1 Connection Methods</A>
 
182
<b class="navlabel">Up:</b> <a class="sectref" href="pyapi-mpconn.html">4.5.4 Connection Object (mp_conn)&nbsp;</A>
 
183
<b class="navlabel">Next:</b> <a class="sectref" href="pyapi-mpfilt.html">4.5.5 Filter Object (mp_filter)&nbsp;</A>
 
184
<hr>
 
185
<span class="release-info">Release 3.1.3, documentation updated on February 17, 2004.</span>
 
186
</DIV>
 
187
<!--End of Navigation Panel-->
 
188
 
 
189
</BODY>
 
190
</HTML>