mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* make aux nonblocking * fix webserver stall if client stops reading * add StallBudget and make web sockets also non-blocking * set small buffer size before accepting * increase payload to force send waits
13 lines
414 B
Text
13 lines
414 B
Text
// The slow-reader test needs testsuite/deafclient/deafclient.py running alongside the
|
|
// shard, which cmake/core_tests_start.cmake only starts when python3 was found.
|
|
use os;
|
|
include "testutil";
|
|
|
|
program setup()
|
|
var have_helper := GetEnvironmentVariable( "POLCORE_TESTSLOWREADER" ) == "TRUE";
|
|
if ( !have_helper )
|
|
syslog( "NO SLOW READER TESTS", 0 );
|
|
return IGNORE_TEST;
|
|
endif
|
|
return 1;
|
|
endprogram
|