-
Notifications
You must be signed in to change notification settings - Fork 203
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
Close Response body input stream after printing it to socket's output stream? #838
Comments
@jimkast/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot! |
@jimkast I think |
@jimkast feel free to contribute with a PR. |
@0crat status |
@0crat in |
@paulodamaso Job #838 is now in scope, role is |
@paulodamaso Thanks for your contribution, @jimkast/z! If you would be a member of the project, you would now earn +15 reputation points, as explained in §29. You can join and apply to it, see §2. |
@olenagerasimova The impediment for #838 was registered successfully by @olenagerasimova/z |
@ypshenychka/z please review this job completed by @olenagerasimova/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed |
The job #838 is now out of scope |
@0crat quality good |
@rultor release, tag is 1.11.4 |
@paulodamaso OK, I will release it now. Please check the progress here |
@jimkast @paulodamaso Oops, I failed. You can see the full log here (spent 2min)
|
@ypshenychka The project doesn't have enough funds, can't make a payment |
Order was finished, quality is "good": +35 point(s) just awarded to @olenagerasimova/z |
Quality review completed: +8 point(s) just awarded to @ypshenychka/z |
@rultor release, tag 1.11.4 |
@paulodamaso OK, I will release it now. Please check the progress here |
@jimkast @paulodamaso Oops, I failed. You can see the full log here (spent 2min)
|
@rultor release, tag= |
@paulodamaso OK, I will release it now. Please check the progress here |
@paulodamaso Done! FYI, the full log is here (took me 13min) |
Currently, BkBasic uses RsPrint to send response bytes to socket's output stream.
However, RsPrint does not close input stream, which may be a File (FileInputStream) as in TkFiles case.
Should RsPrint close the input stream to avoid issues with resources?
Or maybe a BkBasic constructor accept a Func<Response, OutputBytes> which will be RsPrint by default in a secondary constructor?
The text was updated successfully, but these errors were encountered: