npgsql - Npgsql2: Exception when closing connection.

Started by Nonameover 15 years ago1 messagescomitters
Jump to latest
#1Noname
fxjr@pgfoundry.org

Log Message:
-----------

Exception when closing connection. If your connection is in the Ready state and the stream is actually broken NpgsqlReadyState.Close will throw an exception when trying to write to the stream. More info can be found at: http://pgfoundry.org/forum/forum.php?thread_id=10066&forum_id=519
Thanks David Leaver for the patch.

Modified Files:
--------------
Npgsql2/src/Npgsql:
NpgsqlReadyState.cs (r1.5 -> r1.6)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlReadyState.cs?r1=1.5&r2=1.6)