@item
Исправлено возможное игнорирование плохого кода возврата автоматического tosser.
+@item
+Исправлена гонка при закрытии файловых дескрипторов во время завершения
+работы online протокола, которая могла привести к ошибке записи
+принятого фрагмента пакета.
+
@item
Убирать показ прогресса передачи пакетов когда вызов уже завершён в
@command{nncp-daemon}, @command{nncp-call} and @command{nncp-caller}.
@item
Fixed possible bad return code ignoring in automatic tosser.
+@item
+Fixed race during file descriptors closing when online protocol call is
+finished, that could lead to write error of received packet fragment.
+
@item
Kill all packet transmission progress bars in @command{nncp-daemon},
@command{nncp-call} and @command{nncp-caller} when call is finished.
for range state.pings {
}
}()
- go func() {
- for _, s := range state.fds {
- s.fd.Close()
- }
- }()
}
func (state *SPState) NotAlive() bool {
if txDuration > 0 {
state.TxSpeed = state.TxBytes / txDuration
}
+ for _, s := range state.fds {
+ s.fd.Close()
+ }
for pktName := range state.progressBars {
ProgressKill(pktName)
}