提交 ea18e738 编写于 作者: V Violeta Georgieva

AbstractRequestBodyPublisher.onDataAvailable improvement

When in state DATA_AVAILABLE if there are simultaneous invocations of
AbstractRequestBodyPublisher.RequestBodySubscription.request and
ReadListener.onDataAvailable, the first one will process the available
data, the second one should not throw an exception because thus it will
signal to web container that there are problems while there are not.
上级 1d48e7c5
......@@ -251,6 +251,11 @@ abstract class AbstractRequestBodyPublisher implements Publisher<DataBuffer> {
}
}
}
@Override
void onDataAvailable(AbstractRequestBodyPublisher publisher) {
// ignore
}
},
/**
* The terminal completed state. Does not respond to any events.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册