Skip to content

Commit 87fac90

Browse files
committed
Doc for the new retry-on-connection-error behavior
1 parent 090270d commit 87fac90

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

msal/application.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,12 @@ def __init__(
187187
By default, an in-memory cache will be created and used.
188188
:param http_client: (optional)
189189
Your implementation of abstract class HttpClient <msal.oauth2cli.http.http_client>
190-
Defaults to a requests session instance
190+
Defaults to a requests session instance.
191+
Since MSAL 1.11.0, the default session would be configured
192+
to attempt one retry on connection error.
193+
If you are providing your own http_client,
194+
it will be your http_client's duty to decide whether to perform retry.
195+
191196
:param verify: (optional)
192197
It will be passed to the
193198
`verify parameter in the underlying requests library

0 commit comments

Comments
 (0)