[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wait_reading_process_ouput hangs in certain cases (w/ patches)
From: |
Robert Pluim |
Subject: |
Re: wait_reading_process_ouput hangs in certain cases (w/ patches) |
Date: |
Tue, 13 Mar 2018 13:35:23 +0100 |
Matthias Dahl <address@hidden> writes:
> - if (set)
> - Available = tls_available;
> + for (channel = 0; channel < FD_SETSIZE; ++channel)
> + if (! NILP (chan_process[channel]))
> + {
> + struct Lisp_Process *p =
> + XPROCESS (chan_process[channel]);
> +
> + if (just_wait_proc && p != wait_proc)
> + continue;
> +
> + if (p && p->gnutls_p && p->gnutls_state
> + && ((emacs_gnutls_record_check_pending
> + (p->gnutls_state))
> + > 0))
> + {
> + nfds++;
> + eassert (p->infd == channel);
> + FD_SET (p->infd, &Available);
> + }
> + }
> }
> #endif
> }
Hi Matthias, I apologize if this has already been mentioned, but did
you check that this doesn't undo the fix for Bug#21337? The issue
there as I recall was that FD's were set in Available that didn't
actually have data to read, hence the need to check the TLS FD's
separately using tls_available.
Regards
Robert
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), (continued)
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), T.V Raman, 2018/03/01
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), andrés ramírez, 2018/03/01
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), T.V Raman, 2018/03/01
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Eli Zaretskii, 2018/03/01
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), andrés ramírez, 2018/03/02
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Eli Zaretskii, 2018/03/03
Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Matthias Dahl, 2018/03/05
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Lars Ingebrigtsen, 2018/03/05
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Matthias Dahl, 2018/03/05
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Matthias Dahl, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches),
Robert Pluim <=
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Robert Pluim, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Matthias Dahl, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Robert Pluim, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Dmitry Gutov, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Robert Pluim, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Dmitry Gutov, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Robert Pluim, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Eli Zaretskii, 2018/03/13
- Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Robert Pluim, 2018/03/13
Re: wait_reading_process_ouput hangs in certain cases (w/ patches), Matthias Dahl, 2018/03/14