https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293312

Dag-Erling Smørgrav <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[email protected]            |[email protected]
                 CC|                            |[email protected]
             Status|New                         |In Progress
              Flags|                            |mfc-stable15?,
                   |                            |mfc-stable14?,
                   |                            |mfc-stable13?

--- Comment #1 from Dag-Erling Smørgrav <[email protected]> ---
I specifically asked for `kdump -E -tcst`, but ok, we can do without.

The log shows that SIGINT is delivered while we are waiting for DNS resolution.

The ktrace, however, shows that SIGINT is delivered after DNS resolution, while
we are trying to connect to the server.  So this is, at root, a network issue,
compounded by two separate issues in libfetch:

1) When DNS returns multiple addresses and connect(2) is interrupted,
fetch_connect() should return immediately instead of trying the next address. 
This is definitely a bug.

2) Libfetch does not attempt to enforce the timeout while connecting.  This was
an intentional omission, because it's a genuinely hard problem to solve.  We
should either fix it or document it.

Additionally, the fetch(3) manual page does not document fetchTimeout, and the
fetch(1) manual page does not specify what the timeout applies to.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to