Index: openacs-4/packages/xotcl-core/tcl/50-protocol-handler-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/50-protocol-handler-procs.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/xotcl-core/tcl/50-protocol-handler-procs.tcl 12 Apr 2010 11:59:11 -0000 1.3 +++ openacs-4/packages/xotcl-core/tcl/50-protocol-handler-procs.tcl 28 Sep 2011 12:27:14 -0000 1.4 @@ -61,6 +61,11 @@ } { my instvar uri method urlv destination ad_conn -reset + # Make sure, there is no ::ad_conn(request); otherwise the + # developer support will add all its output to a single var, which + # can lead easily to running out of resources in busy sites. When + # unset, the developer support will create its own id. + catch {unset ::ad_conn(request)} set uri [ns_urldecode [ns_conn url]] set url_regexp "^[my url]" #my log "--conn_setup: uri '$uri' my url='[my url]' con='[ns_conn url]'"