Przeglądaj źródła

important to exit the loop

George Baugh 1 rok temu
rodzic
commit
e18597720b
1 zmienionych plików z 1 dodań i 0 usunięć
  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;
         }