You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Long story short. I have routes that does some database lookup with an API based on Futures.
Then problem is, that the lines 102-107 in ehttp.dart makes it impossible to do this since the outputStream is being closed as soon as the inputstream is.
synthReq.inputStream.onClosed = () {
// Close response stream if needed.if (!synthRes.outputStream.closed) {
synthRes.outputStream.close();
}
};
Perhaps I'm doing something wrong.
Removing these lines does make it work but it has a sideeffect in my middlewares.
The text was updated successfully, but these errors were encountered:
Long story short. I have routes that does some database lookup with an API based on Futures.
Then problem is, that the lines 102-107 in ehttp.dart makes it impossible to do this since the outputStream is being closed as soon as the inputstream is.
Perhaps I'm doing something wrong.
Removing these lines does make it work but it has a sideeffect in my middlewares.
The text was updated successfully, but these errors were encountered: