[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the c
From: |
Lars Ingebrigtsen |
Subject: |
bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous |
Date: |
Thu, 04 Feb 2016 13:59:45 +1100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> An application may wish to make DNS resolution asynchronous, but might
> not rely on Emacs becoming idle for GnuTLS initialization. IOW, we
> need a separate option for that.
Well, if you're saying :nowait, it means that you're setting up to talk
to the process asynchronously. So you'll be using process filters and
sentinels to talk to it. Otherwise you'll be using
accept-process-output I think. In either case, you're not involved with
the TLS negotiation -- it's not something you're ... relying on, it's
just there.
I mean, if you're opening a :nowait connection, and Emacs never becomes
idle ever, you're never getting your process-filtered output. But
that's not something that happens.
>> Unfortunately, there are virtually no network tests in the suite. At
>> least I couldn't find any.
>
> I know. We need to add them. Such a radical change in the core
> infrastructure used all over the place cannot be trusted without some
> minimal testing of the popular paradigms of its usage. E.g., does
> synchronous URL retrieval still work? what about asynchronous one?
> what about SMTP with TLS?
I've tested all of that, but without a test suite.
> etc. etc. There's a potential here to break a lot of functionality out
> there.
Yes. Somebody should write a test suite anyway. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, (continued)
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Lars Ingebrigtsen, 2016/02/03
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Eli Zaretskii, 2016/02/04
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Lars Ingebrigtsen, 2016/02/04
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Eli Zaretskii, 2016/02/05
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Lars Ingebrigtsen, 2016/02/05
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Eli Zaretskii, 2016/02/05
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Lars Ingebrigtsen, 2016/02/05
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Eli Zaretskii, 2016/02/06
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Lars Ingebrigtsen, 2016/02/06
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous, Eli Zaretskii, 2016/02/03
- bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous,
Lars Ingebrigtsen <=