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

From: jbcooley(at)pgfoundry(dot)org (User Jbcooley)
To: pgsql-committers(at)postgresql(dot)org
Subject: npgsql - Npgsql2: need to read in chunks so the socket doesn't run out
Date: 2009-12-28 20:23:58
Message-ID: 20091228202358.A0A8F1072082@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 downloading a 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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Bmomjian 2009-12-29 03:49:45 pg-migrator - pg_migrator: Reduce verbosity of status reporting.
Previous Message User Bmomjian 2009-12-28 19:39:41 pg-migrator - pg_migrator: Add TODO: o preserve relfilenodes to avoid