Alexander V. Klepikov wrote:
> It seemes to me, it's almost impossible to write code which will allow
> sqlsocket->conn to provide accurate information about connection state. But
> again, I'm not a programmer.
If that's true, then we still need to audit all of the sql code. Some
code does "if (sqlsocket->conn)...", which would then be wrong. It
should be "if (sqlsocket->state == sqlconnected) ..."
And the "enum" defining "sqlconnected" and "sqlunconnected" should be
changed so that 0 means "unconnected". That change avoids other issues,
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html