CondStream to trigger limit on 128KB

This commit is contained in:
斟酌 鵬兄 2022-08-31 22:39:22 +08:00
parent 7dbbfb0342
commit fff891bad9

View File

@ -92,7 +92,7 @@ class WebFrame
var method = "GET";
if( this.HTTP.request.isPost )
{
this.requestStr = new CondStream( os.tmpdir(), 2048 );
this.requestStr = new CondStream( os.tmpdir(), 2048 * 128 );
this.HTTP.request.raw.addListener(
"data" , ( x ) => _self.requestStr.write( x )