Skip to content

Commit 682fca3

Browse files
committed
adds problem fix
Signed-off-by: Oleh Dokuka <[email protected]>
1 parent eaf137e commit 682fca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsocket-core/src/main/java/io/rsocket/core/RequestOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ public Context currentContext() {
9393

9494
@Override
9595
public void request(long n) {
96-
this.s.request(n);
9796
if (!firstRequest) {
9897
try {
9998
this.hookOnRemainingRequests(n);
@@ -115,6 +114,7 @@ public void request(long n) {
115114
if (firstLoop) {
116115
firstLoop = false;
117116
try {
117+
this.s.request(Long.MAX_VALUE);
118118
this.hookOnFirstRequest(n);
119119
} catch (Throwable throwable) {
120120
onError(throwable);

0 commit comments

Comments
 (0)