test: wait for slow streamed test responses
This commit is contained in:
parent
1088f6b9a5
commit
e113215ffa
@ -41,7 +41,7 @@ CliHttpResponse cli_http_request(String host, u16 port, String path, String extr
|
||||
socket_write(fd, request);
|
||||
for(u64 i = 0; i < 16; i++)
|
||||
{
|
||||
String chunk = socket_read(fd, 65536, i == 0 ? 30 : 1);
|
||||
String chunk = socket_read(fd, 65536, i == 0 ? 30 : 5);
|
||||
if(chunk == "")
|
||||
break;
|
||||
res.raw += chunk;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user