summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/cl-extra-tests.el
diff options
context:
space:
mode:
authorDerek Zhou <derek@3qin.us>2020-08-03 07:56:22 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-03 07:56:29 +0200
commitf921feceb8cd8c52f281447c984d0b67a738a33c (patch)
tree4a6008542f6540bd8c03e229df67013c64dd3ef2 /test/lisp/emacs-lisp/cl-extra-tests.el
parenta325584281c4d8552917fcb97caed449acb7ee65 (diff)
downloademacs-f921feceb8cd8c52f281447c984d0b67a738a33c.tar.gz
emacs-f921feceb8cd8c52f281447c984d0b67a738a33c.tar.bz2
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 'test/lisp/emacs-lisp/cl-extra-tests.el')
0 files changed, 0 insertions, 0 deletions