handleUpload(HttpRequest request) async {
await for (List data in request) {
print("received ${data.length}");
}
print("closed");
}
the above callback can only receive the first 16384 bytes in the request
it doesn't close , doesn't throw any error either, just hangs there.
same code works fine in regular ubuntu.
I think this issue is similar to https://github.com/Microsoft/BashOnWindows/issues/616 . This is probably not a dart issue
Thanks for the heads up.
The linked WSL bug was fixed a long time ago, but alas, this is still broken :(
I've opened https://github.com/microsoft/WSL/issues/4031 to see if we can make any progress.
Most helpful comment
The linked WSL bug was fixed a long time ago, but alas, this is still broken :(
I've opened https://github.com/microsoft/WSL/issues/4031 to see if we can make any progress.