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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 19 May 2004 17:13:39 -0000


matthew		Wed May 19 13:13:39 2004 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  On overload error throw 409 (conflict) instead of 413 (request entity
  too large).
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.501 loncom/lonnet/perl/lonnet.pm:1.502
--- loncom/lonnet/perl/lonnet.pm:1.501	Wed May 12 15:48:51 2004
+++ loncom/lonnet/perl/lonnet.pm	Wed May 19 13:13:39 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.501 2004/05/12 19:48:51 albertel Exp $
+# $Id: lonnet.pm,v 1.502 2004/05/19 17:13:39 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -434,7 +434,7 @@
     if ($overload>0) {
 	$r->err_headers_out->{'Retry-After'}=$overload;
         $r->log_error('Overload of '.$overload.' on '.$checkserver);
-        return 413;
+        return 409;
     }    
     return '';
 }