NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/56219 (sysinst ftp(1) gets Interrupted system call on fetching set via http)



Synopsis: sysinst ftp(1) gets Interrupted system call on fetching set via http

State-Changed-From-To: open->analyzed
State-Changed-By: lukem%NetBSD.org@localhost
State-Changed-When: Wed, 02 Jun 2021 13:20:42 +0000
State-Changed-Why:
The WITH_SSL implementation handles EINTR, even for non-SSL transfers.
When compiled with !WITH_SSL, the implementation uses stdio, which
may not handle EINTR robustly.
I speculate that the m68k install media is compiled without WITH_SSL.

A potential fix is to always use the ssl.c fetch_*() functions
even without WITH_SSL, and just conditionally remove the ssl-specific
functions in that file. This would deprecate the stdio backend in !WITH_SSL.





Home | Main Index | Thread Index | Old Index