[Wishlist] time out on bad network connections
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit |
Fix Released
|
Wishlist
|
Stéphane Graber |
Bug Description
On some systems (especially those with bad internet connexion), Pastebinit hangs indefinitely and blocks some applications (eg it blocks Boot-Repair).
Possible solutions:
1) Pastebinit should abort and return an error when it could not get any URL after X seconds (eg 20s).
2) OR Pastebinit should propose a "timeout" option (equivalent to the -T option of wget).
Extract of the "wget manpage" that we could adapt to pastebinit:
_______
-T seconds
Set the network timeout to seconds seconds. (...)
When interacting with the network, Wget can check for timeout and
abort the operation if it takes too long. This prevents anomalies
like hanging reads and infinite connects. The only timeout enabled
by default is a 900-second read timeout. Setting a timeout to 0
disables it altogether.
_______
Changed in boot-repair: | |
status: | New → Triaged |
importance: | Undecided → Medium |
summary: |
- [Wishlist] Add a "--timeout=seconds" option + Pastebinit blocks some applications |
Changed in boot-repair: | |
importance: | Medium → High |
description: | updated |
Changed in pastebinit: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
summary: |
- Pastebinit blocks some applications + [Wishlist] time out on bad network connections |
Changed in boot-repair: | |
importance: | High → Medium |
no longer affects: | boot-repair |
Changed in pastebinit: | |
status: | Fix Committed → Fix Released |
Yann, please slow down.
What's the point of a timeout option for pastebinit?