[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Mon Sep 28 09:08:57 EDT 2020


raeburn		Mon Sep 28 13:08:57 2020 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Untie hash and set $env{$cache_str} on early return from symbread subroutine.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1424 loncom/lonnet/perl/lonnet.pm:1.1425
--- loncom/lonnet/perl/lonnet.pm:1.1424	Mon Sep 28 00:10:29 2020
+++ loncom/lonnet/perl/lonnet.pm	Mon Sep 28 13:08:57 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1424 2020/09/28 00:10:29 raeburn Exp $
+# $Id: lonnet.pm,v 1.1425 2020/09/28 13:08:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -13408,7 +13408,9 @@
                              my @blockers = &has_comm_blocking('bre',$syval,$bighash{'src_'.$ids});
                              if (@blockers) {
                                  $syval = '';
-                                 return;
+                                 untie(%bighash);
+                                 return '' if ($nocache);
+                                 return $env{$cache_str}='';
                              }
                          }
                      }




More information about the LON-CAPA-cvs mailing list