[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49449: 28: TLS connection never gets to "open" stage
From: |
Eli Zaretskii |
Subject: |
bug#49449: 28: TLS connection never gets to "open" stage |
Date: |
Sun, 11 Jul 2021 09:49:03 +0300 |
> From: Mattias Engdegård <mattiase@acm.org>
> Date: Sat, 10 Jul 2021 21:44:21 +0200
> Cc: larsi@gnus.org, 49449@debbugs.gnu.org
>
> 10 juli 2021 kl. 21.31 skrev Eli Zaretskii <eliz@gnu.org>:
>
> > That's my question: why cannot the sentinel be called in this case?
> > what prevents it from being called?
>
> In the failing case, wait_reading_process_output calls gnutls_try_handshake
> early on, which succeeds and this leads to finish_after_tls_connection being
> called. Here, we have the condition
>
> else if ((fd_callback_info[p->outfd].flags & NON_BLOCKING_CONNECT_FD) == 0)
>
> which gates further progress, but this condition is false because the flags
> have NON_BLOCKING_CONNECT_FD set.
Thanks. A potentially silly question: why not reset the
NON_BLOCKING_CONNECT_FD bit before we call finish_after_tls_connection
from that place?
- bug#49449: 28: TLS connection never gets to "open" stage, (continued)
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/08
- bug#49449: 28: TLS connection never gets to "open" stage, Lars Ingebrigtsen, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Lars Ingebrigtsen, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Eli Zaretskii, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Eli Zaretskii, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage,
Eli Zaretskii <=
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/11
- bug#49449: 28: TLS connection never gets to "open" stage, Eli Zaretskii, 2021/07/11
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/11
- bug#49449: 28: TLS connection never gets to "open" stage, Eli Zaretskii, 2021/07/11
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/12
- bug#49449: 28: TLS connection never gets to "open" stage, Lars Ingebrigtsen, 2021/07/12
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/13
- bug#49449: 28: TLS connection never gets to "open" stage, Mattias Engdegård, 2021/07/10
- bug#49449: 28: TLS connection never gets to "open" stage, Lars Ingebrigtsen, 2021/07/11
- bug#49449: 28: TLS connection never gets to "open" stage, Lars Ingebrigtsen, 2021/07/11