scp broken after update to 11.3
After updating to 11.3 scp from my MBP is consistently broken for files larger than ~200 KB with the error "client_loop: send disconnect: Broken pipe"
$ dd if=/dev/urandom of=test.dat count=400 2> /dev/null && ls -l test.dat && scp test.dat $DST
-rw-r--r-- 1 xxxx staff 204800 Apr 28 11:27 test.dat
test.dat 0% 0 0.0KB/s --:-- ETAclient_loop: send disconnect: Broken pipe
lost connection
This is definitely new, as I'm using scp on an almost-daily basis and never had an issue before the update. This behavior is also visible on 2 different server architectures I've used as a destination (to rule out a coincidental server misconfiguration).
What is also weird is that the problem shows for both stock SSH as well as for Homebrew SSH install, which hints of either SSH client configuration issue or a bug in the networking stack. I'm curious if anyone else is observing the same issue.
P.S. One imperfect way to workaround the issue is to use a sufficiently low bandwidth limit (-l option):
$ dd if=/dev/urandom of=test.dat count=400 2> /dev/null && ls -l test.dat && scp -l 30000 test.dat $DST
-rw-r--r-- 1 xxxx staff 204800 Apr 28 11:39 test.dat
test.dat 100% 200KB 3.1MB/s 00:00
MacBook Pro (2020 and later)