[LON-CAPA-cvs] cvs: loncom /homework grades.pm lonsimpleproblemedit.pm

raeburn raeburn at source.lon-capa.org
Fri May 10 08:48:49 EDT 2013


raeburn		Fri May 10 12:48:49 2013 EDT

  Modified files:              
    /loncom/homework	lonsimpleproblemedit.pm grades.pm 
  Log:
  - Suppress "Apache2::RequestIO::print: (103) Software caused connection abort"
    messages in Apache error log by returning OK when internal redirect is used.
  
  
Index: loncom/homework/lonsimpleproblemedit.pm
diff -u loncom/homework/lonsimpleproblemedit.pm:1.34 loncom/homework/lonsimpleproblemedit.pm:1.35
--- loncom/homework/lonsimpleproblemedit.pm:1.34	Fri Nov  9 03:28:01 2012
+++ loncom/homework/lonsimpleproblemedit.pm	Fri May 10 12:48:48 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Simple Problem Parameter Setting "Editor"
 #
-# $Id: lonsimpleproblemedit.pm,v 1.34 2012/11/09 03:28:01 raeburn Exp $
+# $Id: lonsimpleproblemedit.pm,v 1.35 2013/05/10 12:48:48 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -252,6 +252,7 @@
                 my $dest = &get_parent_uri($symb);
                 if ($dest) {
                     $r->internal_redirect($dest);
+                    return OK;
                 }
             }
         } else {
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.686 loncom/homework/grades.pm:1.687
--- loncom/homework/grades.pm:1.686	Thu Apr 11 14:59:39 2013
+++ loncom/homework/grades.pm	Fri May 10 12:48:48 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.686 2013/04/11 14:59:39 bisitz Exp $
+# $Id: grades.pm,v 1.687 2013/05/10 12:48:48 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9757,6 +9757,7 @@
         }
     } elsif (!%perm) {
         $request->internal_redirect('/adm/quickgrades');
+        return OK;
     }
     &Apache::loncommon::content_type($request,'text/html');
     $request->send_http_header;




More information about the LON-CAPA-cvs mailing list