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
ad246bfb
Kaydet (Commit)
ad246bfb
authored
Mar 03, 2013
tarafından
Nadeem Vawda
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu.
üst
255bf5b9
7b39b9b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
test_ssl.py
Lib/test/test_ssl.py
+5
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/test/test_ssl.py
Dosyayı görüntüle @
ad246bfb
...
@@ -942,7 +942,11 @@ else:
...
@@ -942,7 +942,11 @@ else:
self
.
sslconn
=
self
.
server
.
context
.
wrap_socket
(
self
.
sslconn
=
self
.
server
.
context
.
wrap_socket
(
self
.
sock
,
server_side
=
True
)
self
.
sock
,
server_side
=
True
)
self
.
server
.
selected_protocols
.
append
(
self
.
sslconn
.
selected_npn_protocol
())
self
.
server
.
selected_protocols
.
append
(
self
.
sslconn
.
selected_npn_protocol
())
except
ssl
.
SSLError
as
e
:
except
(
ssl
.
SSLError
,
ConnectionResetError
)
as
e
:
# We treat ConnectionResetError as though it were an
# SSLError - OpenSSL on Ubuntu abruptly closes the
# connection when asked to use an unsupported protocol.
#
# XXX Various errors can have happened here, for example
# XXX Various errors can have happened here, for example
# a mismatching protocol version, an invalid certificate,
# a mismatching protocol version, an invalid certificate,
# or a low-level bug. This should be made more discriminating.
# or a low-level bug. This should be made more discriminating.
...
...
Misc/NEWS
Dosyayı görüntüle @
ad246bfb
...
@@ -635,6 +635,8 @@ Library
...
@@ -635,6 +635,8 @@ Library
Tests
Tests
-----
-----
- Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu.
- Issue #17249: convert a test in test_capi to use unittest and reap threads.
- Issue #17249: convert a test in test_capi to use unittest and reap threads.
- Issue #17041: Fix testing when Python is configured with the
- Issue #17041: Fix testing when Python is configured with the
...
...
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