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

From: Stefan Kangas <[email-masked]>
Date: Tue, 8 Oct 2019 19:38:40 +0200

Eli Zaretskii <[email-masked]> writes:

> > > So bytes/sec, as you suggest, may be the best heuristic.  But it should
> > > only kick in after having received a large number of bytes, probably.
> >
> > 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.

These are theoretical maximums.

Best regards,
Stefan Kangas