Skip to content

Different behavior for Routing in netcore and netfx #2872

@JRahnama

Description

@JRahnama

There are two different behavior for Routing in SqlClient

in .Net inside SqlInternalConnectionTds we have

if (routingAttempts > 0)
                        {
                            throw SQL.ROR_RecursiveRoutingNotSupported(this);
                        }

Where as the same place in .NetFramework we have

if (routingAttempts > _maxNumberOfRedirectRoute)
                        {
                            throw SQL.ROR_RecursiveRoutingNotSupported(this);
                        }

_maxNumberOfRedirectRout is 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions