Subject: bug#19565: Emacs vulnerable to endless-data attack (minor)

From: Eli Zaretskii <[email-masked]>
Date: Tue, 08 Oct 2019 21:02:22 +0300

> From: Stefan Kangas <[email-masked]>
> Date: Tue, 8 Oct 2019 19:38:40 +0200
> Cc: Lars Ingebrigtsen <[email-masked]>, [email-masked]
> 
> > > Maybe this is a stupid question, but what if I'm on a slow connection?
> >
> > Please define "slow" in terms of bytes/sec.
> 
> - 56 kbps dialup is 7000 bytes/sec.
> - 2G cellular network is 40 kbps, or 384 kbps, which is 5000 bytes/sec
> and 48000 bytes/sec respectively.

I see no problem with these numbers.  If a process buffer receives
more than some threshold at speed like these or faster, we can prompt
the user.