Thread: npgsql - Npgsql2: need to read in chunks so the socket doesn't run out

npgsql - Npgsql2: need to read in chunks so the socket doesn't run out

From
jbcooley@pgfoundry.org (User Jbcooley)
Date:
Log Message:
-----------
need to read in chunks so the socket doesn't run out of memory in recv the network stream doesn't prevent this and
downloadinga large bytea will throw an IOException with an error code of 10055 (WSAENOBUFS) 
This is a fix for bug reported in 1005719.

Modified Files:
--------------
    Npgsql2/src/Npgsql:
        PGUtil.cs (r1.10 -> r1.11)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/PGUtil.cs?r1=1.10&r2=1.11)