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
48e00f3a
Kaydet (Commit)
48e00f3a
authored
Eki 13, 2010
tarafından
Antoine Pitrou
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use PROTOCOL_SSLv23 in the test HTTPS server, in an attempt to appease the old Gentoo buildbot
üst
84fa4314
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ssl_servers.py
Lib/test/ssl_servers.py
+1
-1
No files found.
Lib/test/ssl_servers.py
Dosyayı görüntüle @
48e00f3a
...
@@ -141,7 +141,7 @@ class HTTPSServerThread(threading.Thread):
...
@@ -141,7 +141,7 @@ class HTTPSServerThread(threading.Thread):
def
make_https_server
(
case
,
certfile
=
CERTFILE
,
host
=
HOST
,
handler_class
=
None
):
def
make_https_server
(
case
,
certfile
=
CERTFILE
,
host
=
HOST
,
handler_class
=
None
):
# we assume the certfile contains both private key and certificate
# we assume the certfile contains both private key and certificate
context
=
ssl
.
SSLContext
(
ssl
.
PROTOCOL_
TLSv1
)
context
=
ssl
.
SSLContext
(
ssl
.
PROTOCOL_
SSLv23
)
context
.
load_cert_chain
(
certfile
)
context
.
load_cert_chain
(
certfile
)
server
=
HTTPSServerThread
(
context
,
host
,
handler_class
)
server
=
HTTPSServerThread
(
context
,
host
,
handler_class
)
flag
=
threading
.
Event
()
flag
=
threading
.
Event
()
...
...
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