Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#1095) Remove code from ctor #1098

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

baudoliver7
Copy link
Contributor

For #1095

  • Change code in ctor to Sticky initialization
  • Remove lazy loading evaluation in RqMtFake

@andreoss
Copy link
Contributor

andreoss commented Apr 1, 2021

@baudoliver7 The tests are failing

@@ -532,4 +528,4 @@ SOFTWARE.
</build>
</profile>
</profiles>
</project>
</project>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@baudoliver7 I suggest reverting this part, if xcop doesn't complain than xml formating is fine

Math.min(8192, this.stream.available())
);
this.map = this.requests(req);
this.sstream = new Sticky<>(() -> new RqLengthAware(req).body());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@baudoliver7 Is it possible to use RqOnce on the ctor parameter instead of three Stickies?
It seems also that some fields could be moved inside of request method, such as sbuffer

@yegor256
Copy link
Owner

yegor256 commented Jun 1, 2022

@baudoliver7 what's up with this one?

@baudoliver7
Copy link
Contributor Author

@yegor256 I have to complete it. Please, just wait a bit :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants