text: Title: [Bug] Web 终端使用 sz 下载 100kb 左右的文件卡在 99% 并控制台报错
  Body: ### Product Version
  
  v4.2.0; v4.1.0
  
  ### Product Edition
  
  - [X] Community Edition
  - [ ] Enterprise Edition
  - [ ] Enterprise Trial Edition
  
  ### Installation Method
  
  - [X] Online Installation (One-click command installation)
  - [ ] Offline Package Installation
  - [ ] All-in-One
  - [ ] 1Panel
  - [ ] Kubernetes
  - [ ] Source Code
  
  ### Environment Information
  
  Rocky Linux release 9.4 (Blue Onyx)
  
  Client: Docker Engine - Community
   Version:    27.2.0
   Context:    default
   Debug Mode: false
   Plugins:
    buildx: Docker Buildx (Docker Inc.)
      Version:  v0.16.2
      Path:     /usr/libexec/docker/cli-plugins/docker-buildx
    compose: Docker Compose (Docker Inc.)
      Version:  v2.29.2
      Path:     /usr/libexec/docker/cli-plugins/docker-compose
  
  Server:
   Containers: 6
    Running: 6
    Paused: 0
    Stopped: 0
   Images: 8
   Server Version: 27.2.0
   Storage Driver: overlay2
    Backing Filesystem: extfs
    Supports d_type: true
    Using metacopy: false
    Native Overlay Diff: true
    userxattr: false
   Logging Driver: json-file
   Cgroup Driver: systemd
   Cgroup Version: 2
   Plugins:
    Volume: local
    Network: bridge host ipvlan macvlan null overlay
    Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
   Swarm: inactive
   Runtimes: io.containerd.runc.v2 runc
   Default Runtime: runc
   Init Binary: docker-init
   containerd version: 472731909fa34bd7bc9c087e4c27943f9835f111
   runc version: v1.1.13-0-g58aa920
   init version: de40ad0
   Security Options:
    seccomp
     Profile: builtin
    cgroupns
   Kernel Version: 5.14.0-427.28.1.el9_4.x86_64
   Operating System: Rocky Linux 9.4 (Blue Onyx)
   OSType: linux
   Architecture: x86_64
   CPUs: 4
   Total Memory: 7.382GiB
   Name: jumpserver
   ID: 494993a3-2aaf-4d9e-9fb7-8278d4825beb
   Docker Root Dir: /var/lib/docker
   Debug Mode: false
   Experimental: true
   Insecure Registries:
    127.0.0.0/8
   Registry Mirrors:
    https://mirror.ccs.tencentyun.com/
   Live Restore Enabled: true
  
  ### 🐛 Bug Description
  
  使用web终端在下载文件报错：
  <img width="424" alt="image" src="https://github.com/user-attachments/assets/a7085cdf-2726-4f07-a087-9a64353d658b">
  
  
  ### Recurrence Steps
  
  使用web终端使用sz下载文件，卡在百分之九十几
  
  ### Expected Behavior
  
  _No response_
  
  ### Additional Information
  
  _No response_
  
  ### Attempted Solutions
  
  _No response_