Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
bf76075a
Kaydet (Commit)
bf76075a
authored
Tem 21, 2004
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix typo, highlight True/False correctly
üst
8b3d92a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libsocksvr.tex
Doc/lib/libsocksvr.tex
+4
-4
No files found.
Doc/lib/libsocksvr.tex
Dosyayı görüntüle @
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