]> granicus.if.org Git - python/commit
Issue #23853: Methods of SSL socket don't reset the socket timeout anymore each
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 6 Apr 2015 20:46:13 +0000 (22:46 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 6 Apr 2015 20:46:13 +0000 (22:46 +0200)
commit146907081c63f4dfbf77ffc77cf50516a3ad4495
tree8e482a821b3d2de2899fba4c04d6bb575db00d76
parent222dfc7d94a785bd710642a8917aefa70e1ea714
Issue #23853: Methods of SSL socket don't reset the socket timeout anymore each
time bytes are received or sent. The socket timeout is now the maximum total
duration of the method.

This change fixes a denial of service if the application is regulary
interrupted by a signal and the signal handler does not raise an exception.
Doc/library/ssl.rst
Modules/_ssl.c