You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FLOW_CONTROL_ERROR appears when client sends multiple requests in one connection.
It can be reproduced in Chromium and nghttp2.
nghttp2: To reproduce this issue we need to make html file with links to something in it and run the nghttp2 with -a argument.
Run: nghttp -anvy https://debian/file.html
All images must present. Image 1.png must be largest(above 1MB) image, other images can be smaller(100 KB or less). If all files have same size images loads correctly.
Also same error appear if we use large amount of images in one page. For example we can place into file.html 30 images and nghttp will sent frame GO_AWAY error_code=FLOW_CONTROL_ERROR even if all files are same.
File with large amount of images:
<!DOCTYPE html>
<html>
<body>
<h1>TEST PAGE</h1>
<img src="1.png"/>
<img src="2.png"/>
<img src="3.png"/>
<img src="4.png"/>
<img src="4.png?rnd=0"/>
<img src="4.png?rnd=1"/>
<img src="4.png?rnd=2"/>
<img src="4.png?rnd=3"/>
<img src="4.png?rnd=4"/>
<! -- And so on. Better to use large amount of img -->
</body>
</html>
Chromium: In this case we can use mixed approach: file.html must contain many(30+) images with first large image. Request to largest image will be failed.
Testing
For testing need to use library which correctly works with http2 multiplexing.
The text was updated successfully, but these errors were encountered:
Scope
FLOW_CONTROL_ERROR appears when client sends multiple requests in one connection.
It can be reproduced in Chromium and nghttp2.
nghttp2: To reproduce this issue we need to make html file with links to something in it and run the nghttp2 with
-a
argument.Run:
nghttp -anvy https://debian/file.html
file.html example:
All images must present. Image
1.png
must be largest(above 1MB) image, other images can be smaller(100 KB or less). If all files have same size images loads correctly.Also same error appear if we use large amount of images in one page. For example we can place into file.html 30 images and nghttp will sent
frame GO_AWAY error_code=FLOW_CONTROL_ERROR
even if all files are same.File with large amount of images:
Chromium: In this case we can use mixed approach: file.html must contain many(30+) images with first large image. Request to largest image will be failed.
Testing
For testing need to use library which correctly works with http2 multiplexing.
The text was updated successfully, but these errors were encountered: