Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bf76075a
Commit
bf76075a
authored
Jul 21, 2004
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo, highlight True/False correctly
parent
8b3d92a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/lib/libsocksvr.tex
Doc/lib/libsocksvr.tex
+4
-4
No files found.
Doc/lib/libsocksvr.tex
View file @
bf76075a
...
...
@@ -106,7 +106,7 @@ The server classes support the following class variables:
\begin{datadesc}
{
allow
_
reuse
_
address
}
Whether the server will allow the reuse of an address. This defaults
to
\co
de
{
False
}
, and can be set in subclasses to change the policy.
to
\co
nstant
{
False
}
, and can be set in subclasses to change the policy.
\end{datadesc}
\begin{datadesc}
{
request
_
queue
_
size
}
...
...
@@ -170,10 +170,10 @@ address. May be overridden.
\end{funcdesc}
\begin{funcdesc}
{
verify
_
request
}{
request, client
_
address
}
Must return a Boolean value; if the value is
true
, the request will be
processed, and if it's
false
, the request will be denied.
Must return a Boolean value; if the value is
\constant
{
True
}
, the request will be
processed, and if it's
\constant
{
False
}
, the request will be denied.
This function can be overridden to implement access controls for a server.
The default implementation always return
true
.
The default implementation always return
s
\constant
{
True
}
.
\end{funcdesc}
The request handler class must define a new
\method
{
handle()
}
method,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment