| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1195,11 +1195,11 @@ SSL sockets also have the following additional methods and attributes: | |||
| 1195 | 1195 | ||
| 1196 | 1196 | Perform the SSL setup handshake. | |
| 1197 | 1197 | ||
| 1198 | - If *block* is true and the timeout obtained by :meth:`~socket.gettimeout` | ||
| 1198 | + If *block* is true and the timeout obtained by :meth:`~socket.socket.gettimeout` | ||
| 1199 | 1199 | is zero, the socket is set in blocking mode until the handshake is performed. | |
| 1200 | 1200 | ||
| 1201 | 1201 | .. versionchanged:: 3.4 | |
| 1202 | - The handshake method also performs :func:`match_hostname` when the | ||
| 1202 | + The handshake method also performs :func:`!match_hostname` when the | ||
| 1203 | 1203 | :attr:`~SSLContext.check_hostname` attribute of the socket's | |
| 1204 | 1204 | :attr:`~SSLSocket.context` is true. | |
| 1205 | 1205 | ||
@@ -1209,7 +1209,7 @@ SSL sockets also have the following additional methods and attributes: | |||
| 1209 | 1209 | ||
| 1210 | 1210 | .. versionchanged:: 3.7 | |
| 1211 | 1211 | Hostname or IP address is matched by OpenSSL during handshake. The | |
| 1212 | - function :func:`match_hostname` is no longer used. In case OpenSSL | ||
| 1212 | + function :func:`!match_hostname` is no longer used. In case OpenSSL | ||
| 1213 | 1213 | refuses a hostname or IP address, the handshake is aborted early and | |
| 1214 | 1214 | a TLS alert message is sent to the peer. | |
| 1215 | 1215 | ||
@@ -2863,7 +2863,7 @@ This common check is automatically performed when | |||
| 2863 | 2863 | ||
| 2864 | 2864 | .. versionchanged:: 3.7 | |
| 2865 | 2865 | Hostname matchings is now performed by OpenSSL. Python no longer uses | |
| 2866 | - :func:`match_hostname`. | ||
| 2866 | + :func:`!match_hostname`. | ||
| 2867 | 2867 | ||
| 2868 | 2868 | In server mode, if you want to authenticate your clients using the SSL layer | |
| 2869 | 2869 | (rather than using a higher-level authentication mechanism), you'll also have | |
| Back | FazBrowse Home | New Git URL |
0 commit comments