Fixes: #3791
Change-Id: I0dade4fe0ecbb53b4a66881594f362986ba73ae8
Pull-request: https://bitbucket.org/zzzeek/sqlalchemy/pull-requests/89
.. changelog::
:version: 1.0.16
+ .. change::
+ :tags: bug, mssql
+ :tickes: 3791
+ :versions: 1.1.0
+
+ Added error code 20017 "unexpected EOF from the server" to the list of
+ disconnect exceptions that result in a connection pool reset. Pull
+ request courtesy Ken Robbins.
+
.. change::
:tags: bug, orm.declarative
:tickets: 3797
"Not connected to any MS SQL server",
"Connection is closed",
"message 20006", # Write to the server failed
+ "message 20017", # Unexpected EOF from the server
):
if msg in str(e):
return True