From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Connection drops data if it sent too quickly
Date: Tue, 04 Feb 2003 10:42:07 -0500 [thread overview]
Message-ID: <E18g5D5-0007n3-00@fencepost.gnu.org> (raw)
In-Reply-To: <84lm0x85j6.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@uni-duisburg.de)
The problem is that the connection is dropping bytes when the data is
sent too quickly. I've changed it to send chunks of 500 bytes, then
wait 0.1 seconds. This works.
Perhaps we should put that into process-send-string so that Lisp code
won't need to concern itself with this issue. But I wonder
whether the bug is in ssh. If so, that's the place to fix it.
If Emacs is talking to some other program instead, does the same
bug happen?
There seems to be code in process-send-region (or a function called
from it) that tries to avoid sending data too quickly, but I don't
grok it.
I probably don't understand it either, but I don't think the problem
being solved was one of losing data. I think that the buffer would
get full and even worse things would happen.
next prev parent reply other threads:[~2003-02-04 15:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-03 20:37 Connection drops data if it sent too quickly Kai Großjohann
2003-02-04 10:49 ` Michael Albinus
2003-02-04 15:42 ` Richard Stallman [this message]
2003-02-05 15:24 ` Michael Albinus
2003-02-05 23:31 ` Kim F. Storm
2003-02-06 7:45 ` Michael Albinus
2003-02-07 18:31 ` Kai Großjohann
2003-02-07 23:10 ` Richard Stallman
2003-02-06 15:40 ` Richard Stallman
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=E18g5D5-0007n3-00@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/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.