[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/NPgClient PgDbClient.cs,1.5
Status: Inactive
Brought to you by:
carlosga_fb
From: Carlos G. Á. <car...@us...> - 2005-05-24 19:00:54
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/NPgClient In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24778 Modified Files: PgDbClient.cs Log Message: 2005-05-25 Carlos Guzman Alvarez <car...@te...> * PostgreSQl.Data.PgSqlClient/NPgClient/PgDbClient.cs: - Correctly disable nagle algorithm (Patch #1207038) Index: PgDbClient.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/NPgClient/PgDbClient.cs,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** PgDbClient.cs 8 Apr 2005 14:36:26 -0000 1.56 --- PgDbClient.cs 24 May 2005 19:00:45 -0000 1.57 *************** *** 871,882 **** - #if (!LINUX) // Disables the Nagle algorithm for send coalescing. - // This seems to be not supported in Linux (using mono::) this.socket.SetSocketOption( ! SocketOptionLevel.Socket, SocketOptionName.NoDelay, 1); - #endif // Make the socket to connect to the Server --- 871,879 ---- // Disables the Nagle algorithm for send coalescing. this.socket.SetSocketOption( ! SocketOptionLevel.Tcp, SocketOptionName.NoDelay, 1); // Make the socket to connect to the Server |