[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Turn on persisten connections by default

From: Sander Striker <striker_at_apache.org>
Date: 2001-10-28 21:45:55 CET

Hi,

A small patch to switch on persistent connections
by default, explicitly. Patch inlined and attached,
because my mailer tends to break lines...

Sander

Log:
subversion/libsvn_ra_dav/session.c (svn_ra_dav__open):
    Turn on persistent connections by default.

Index: ./subversion/libsvn_ra_dav/session.c
===================================================================
--- ./subversion/libsvn_ra_dav/.svn/text-base/session.c Sun Oct 28 20:43:56
2001
+++ ./subversion/libsvn_ra_dav/session.c Sun Oct 28 21:36:44 2001
@@ -127,10 +127,9 @@
   ne_debug_init(stderr, NE_DBG_HTTP|NE_DBG_HTTPBODY);
 #endif

- /* ### persistent connection problems in Apache 2.0? seeing some
- * "Could not read status line" errors, and connections being closed
- * prematurely, etc. Turn them off for now. */
- ne_set_persist(sess, 0);
+ /* Enable persistent connections explicitly */
+ ne_set_persist(sess, 1);
+ ne_set_persist(sess2, 1);

   /* make sure we will eventually destroy the session */
   apr_pool_cleanup_register(pool, sess, cleanup_session,
apr_pool_cleanup_null);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Oct 21 14:36:46 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.