actix-web icon indicating copy to clipboard operation
actix-web copied to clipboard

too slow in multipart usage when use http/2 proto

Open hanyuzhou2006 opened this issue 11 months ago • 0 comments

Your issue may already be reported! Please search on the Actix Web issue tracker before creating one.

Expected Behavior

post multipart data is fast when use http/2 proto

Current Behavior

upload file usage:

post multipart data is fast when use http/1 proto

but too slow when use http/2 proto

Possible Solution

Steps to Reproduce (for bugs)

  1. copy multipart example
  2. write a html form page to upload a file
  3. generate self signed certs, use bind_rustls_0_23 to run server
  4. use chrome to upload

Context

Your Environment

ubuntu 24.04 amd64

  • Rust Version (I.e, output of rustc -V): 1.82.0
  • Actix Web Version: 4.9.0

hanyuzhou2006 avatar Nov 13 '24 07:11 hanyuzhou2006