SqlDatabaseTransientErrorDetectionStrategy and timeouts

Topics: Transient Fault Handling Application Block ("Topaz")
Dec 21, 2014 at 11:59 AM
The class SqlDatabaseTransientErrorDetectionStrategy specifically defines exceptions of type TimeoutException as transient but does not consider SqlException with number -2 to be transient. The -2 also indicates a timeout.

Could somebody provide some background on this; Is there a reason why I should not automatically retry when I get -2 error?

Link to the source code: