diff options
| author | Derek Zhou | 2020-08-03 07:56:22 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-08-03 07:56:29 +0200 |
| commit | f921feceb8cd8c52f281447c984d0b67a738a33c (patch) | |
| tree | 4a6008542f6540bd8c03e229df67013c64dd3ef2 /src/bytecode.c | |
| parent | a325584281c4d8552917fcb97caed449acb7ee65 (diff) | |
| download | emacs-f921feceb8cd8c52f281447c984d0b67a738a33c.tar.gz emacs-f921feceb8cd8c52f281447c984d0b67a738a33c.zip | |
Fix problem where TLS connections would sometimes hang
* src/process.c (wait_reading_process_output): Before the select,
check every interesting gnutls stream for available data in the
buffer. If some of them hit, and either there is no wait_proc or
the wait_proc is one of the gnutls streams with new data, set the
select timeout to 0 after the select, and merge the gnutls buffer
status into the select returns (bug#40665). This fixes a problem
where TLS connections would sometimes hang.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions