-
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
Application crashes when Response pipe is broken #373
Comments
@carlosmiranda makes sense, thanks! |
@carlosmiranda this task will get someone's attention soon |
@carlosmiranda since there is no milestone yet I set it to "1.0" |
@carlosmiranda thank you for the ticket reported, I topped your account for 15 mins, transaction |
@yegor256 just a side note... I like the way that I'm actually able to use our open-source projects during my day job. :) |
@carlosmiranda that's what they are for :) and I'm sure you're not alone |
@adko-pl this task is for you, keep these principles in mind, and don't hesitate to ask any technical questions... The budget here is 30 mins, which is exactly how much time will be paid for, when the task is completed |
@0crat in |
@caarlos0 this job was assigned to you 8 days ago. |
Oops! Job |
2 similar comments
Oops! Job |
Oops! Job |
@t-izbassar The impediment for #373 was registered successfully by @t-izbassar/z |
@carlosmiranda can you close this one? PR #776 was merged. |
@t-izbassar thanks! |
Order was successfully finished: +30 points just awarded to @t-izbassar/z, total is +60 |
The job #373 is now out of scope |
I am trying to write a small monitoring application using Takes. Right now I'm having issues, because the application keeps crashing with the following error printed to the output:
Line 119 is a call to
FtBasic.start()
. I don't think the application should crash when the response tries to write to the output, which means either this is definitely a bug or I'm doing something wrong.UPDATE: Upon further investigation, it appears that the solution to this is to wrap the
Take
into aBkSafe
before sending it toFtBasic
. This is whatFtCLI
does. However, there's no clear documentation on how to useBkSafe
orBack
, which is confusing to people who are building applications using this framework.Thus, I propose a couple of things:
Back
usage inREADME
BkSafe
by default when usingFtBasic
, or provide an implementationFtSafe
which does this and use it in theREADME
examples.This way developers won't be wondering why their app keeps crashing when the response pipe gets disconnected...
The text was updated successfully, but these errors were encountered: