all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 14380@debbugs.gnu.org, tzz@lifelogs.com
Subject: bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32
Date: Sun, 19 May 2013 18:57:43 +0100	[thread overview]
Message-ID: <CALDnm50LGRRs05xDgP9_VnDYJSk8=9EHh71fYd4jCZPyrZVWoA@mail.gmail.com> (raw)
In-Reply-To: <83ppwnvut9.fsf@gnu.org>

On Sun, May 19, 2013 at 4:44 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: João Távora <joaotavora@gmail.com>
>> Date: Sun, 19 May 2013 12:45:12 +0100
>> Cc: Eli Zaretskii <eliz@gnu.org>, 14380@debbugs.gnu.org, emacs-devel@gnu.org
>>
>> The fix I proposed aims for the status quo, that is: make external
>> TLS binary support slightly more robust.
>
> I already said at lest twice in this thread: THIS WON'T WORK on
> Windows (except in Cygwin Emacs).  The communications between the

Look, there's no need to shout. I'm not using Cygwin emacs, I'm using
regular W32
binaries and am not even sure what tls binary emacs found or how. It
appears to be:

"openssl s_client -connect imaps.mycompany.com:993 -no_ssl2 -ign_eof"

My analysis of the code of `network-stream-open-tls' revealed (as do
the comments)
that it tries to cleanup the process buffer of previous garbage left there by
`open-tls-stream` (who nonetheless tries to place point correctly in
the process
buffer)

I'm **guessing** "openssl" is a cygwin binary, I didn't even check that.
I **reported** a bug since I considered unexpected behaviour occurred even with
the cleanest of "emacs -Q" run.
I **suggested** a fix because of two reasons: (1) I tried it and it
worked and has
been working since (2) in the context of the interaction between the
two functions
`network-stream-open-tls' and `open-tls-stream' it seemed reasonable
that the latter
cleans up after itself.

Maybe, in my reduced usage of gnus, I haven't gotten to a situation
where things would
break because of signal handling or whatever. Lucky me.

When things do break, I'll happily unzip dlls, I have nothing against that.

Thanks for all the info, feel free to close the bug if you haven't already
Over and out,
João





  reply	other threads:[~2013-05-19 17:57 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87k3mw79iv.fsf@lifelogs.com>
2013-05-18 13:05 ` bug#14380: [gmane.emacs.bugs] bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32 João Távora
2013-05-19  3:17   ` Ted Zlatanov
2013-05-19 11:45     ` João Távora
2013-05-19 11:45     ` João Távora
2013-05-19 15:44       ` Eli Zaretskii
2013-05-19 17:57         ` João Távora [this message]
2013-05-19 19:01           ` Eli Zaretskii
2013-05-19 23:05       ` Ted Zlatanov
2013-05-20  2:08         ` Juanma Barranquero
2013-05-20  2:08         ` Juanma Barranquero
2013-05-20  9:58           ` Ted Zlatanov
2013-05-20 15:21             ` Juanma Barranquero
2013-05-24 19:32               ` Ted Zlatanov
2013-05-24 19:50                 ` Eli Zaretskii
2013-05-24 21:55                   ` Ted Zlatanov
2013-05-25  6:42                     ` Eli Zaretskii
2013-05-25 22:18                       ` Ted Zlatanov
2013-05-26  2:52                         ` Eli Zaretskii
2013-05-26 21:32                           ` Ted Zlatanov
2013-05-26 19:59                         ` Eli Zaretskii
2013-05-26 21:31                           ` Ted Zlatanov
2013-05-24 19:51                 ` Stefan Monnier
2013-05-24 21:53                   ` GnuTLS updates proposal (was: bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32) Ted Zlatanov
2013-05-25  1:52                     ` GnuTLS updates proposal Stefan Monnier
2013-05-25  2:54                       ` Ted Zlatanov
2013-05-25  4:47                         ` Stefan Monnier
2013-05-25  6:25                           ` Stephen J. Turnbull
2013-05-25 22:28                           ` Ted Zlatanov
2013-05-26  4:51                             ` Richard Stallman
2013-05-26 21:28                               ` Ted Zlatanov
2013-05-25  6:39                     ` GnuTLS updates proposal (was: bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32) Eli Zaretskii
2013-05-25  7:10                       ` GnuTLS updates proposal Stefan Monnier
2013-05-26 21:34                         ` Ted Zlatanov
2013-06-05 14:57                           ` Ted Zlatanov
2013-05-26  1:53                       ` GnuTLS updates proposal (was: bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32) Juanma Barranquero
2013-05-20 16:17             ` bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32 Eli Zaretskii
2013-05-24 19:27               ` Ted Zlatanov
2013-05-20 22:07         ` João Távora
2013-06-05 15:06           ` Ted Zlatanov
2013-06-05 16:42             ` Glenn Morris
2013-06-05 18:10               ` Ted Zlatanov
2013-06-08  0:58                 ` Glenn Morris
2013-06-06  8:15             ` João Távora
2013-06-06  8:15             ` João Távora
2013-06-05 15:06           ` Ted Zlatanov
2013-05-20 22:07         ` João Távora
2013-05-19 23:05       ` Ted Zlatanov
2013-05-19 15:32     ` Eli Zaretskii
2013-05-20 13:56       ` Ted Zlatanov
2013-05-20 16:28         ` Eli Zaretskii
2013-05-24 19:48           ` Ted Zlatanov
2013-05-24 20:27             ` Eli Zaretskii
2013-05-10 12:49               ` João Távora
2013-05-10 14:00                 ` Eli Zaretskii
2013-05-10 16:00                   ` João Távora
2013-05-10 17:17                     ` Eli Zaretskii
2013-05-10 20:44                       ` João Távora
2013-05-11  7:06                         ` Eli Zaretskii
2013-05-17 13:12                         ` Ted Zlatanov
2013-05-24 22:20                 ` Ted Zlatanov
2013-05-25  6:49                   ` Eli Zaretskii
2013-05-19  3:17   ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALDnm50LGRRs05xDgP9_VnDYJSk8=9EHh71fYd4jCZPyrZVWoA@mail.gmail.com' \
    --to=joaotavora@gmail.com \
    --cc=14380@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.