Opened 17 years ago

Closed 17 years ago

#1743 closed bug (fixed)

Ftp aborts download if terminal window is resized.

Reported by: bouncer Owned by: bonefish
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Was testing a previous ticket I had. (re: large file transfers) and during the download I casually resized the terminal window.

This caused the ftp download to exit with the following message. 'ftp: netin: Interrupted system call'

I have compiled and am running code release 23854. Am running on real hardware.

And - because possibly it may affect signal handling - am running on Intel Quad-core.

Attachments (1)

screen2.png (81.8 KB ) - added by bouncer 17 years ago.

Download all attachments as: .zip

Change History (4)

by bouncer, 17 years ago

Attachment: screen2.png added

comment:1 by bonefish, 17 years ago

Owner: changed from axeld to bonefish
Status: newassigned

I believe this problem is a result of Haiku not yet supporting transparent syscall restarts. Resizing the terminal window will cause a SIGWINCH to be sent to ftp, which interrupts a send() or recv().

Assigning this to myself for the time being, so that it is on my task list at least. If someone else wants to tackle it, feel free...

comment:2 by bonefish, 17 years ago

Should be fixed in hrev23985. Please verify.

comment:3 by bonefish, 17 years ago

Resolution: fixed
Status: assignedclosed

Considered fixed.

Note: See TracTickets for help on using tickets.