actix / actix/actix-web

too slow in multipart usage when use http/2 proto

Open
#3,499 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
24.8k
Forks
1.9k
Avg merge
23h 10m
Merged PRs (30d)
26

Description

Your issue may already be reported! Please search on the [Actix Web issue tracker](https://github.com/actix/actix-web/issues) 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.