Parcourir la source

important to exit the loop

George Baugh il y a 1 an
Parent
commit
e18597720b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      lib/TPSGI.pm

+ 1 - 0
lib/TPSGI.pm

@@ -741,6 +741,7 @@ sub stream_raw_http {
                 while ($out->read( my $buf, $CHUNK_SIZE )) {
                     $writer->write($buf) if $buf;
                 }
+                last;
             }
             usleep 1000;
         }