Commit 3efc8de
authored
[FIXED] Max streams reached with parallel stream creation (#6502)
Maximum streams reached errors would be returned when creating (the
same) streams in parallel:
- if max streams = 1, the second create request would fail as the
previous create request being inflight made it exceed the limit, even if
it was about the same stream
- if max streams > 1, if the streams already existed would count the
streams twice, once for the streams existing already, and another time
due to being inflight
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>2 files changed
+80
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6078 | 6078 | | |
6079 | 6079 | | |
6080 | 6080 | | |
6081 | | - | |
| 6081 | + | |
| 6082 | + | |
| 6083 | + | |
| 6084 | + | |
| 6085 | + | |
| 6086 | + | |
| 6087 | + | |
| 6088 | + | |
6082 | 6089 | | |
6083 | 6090 | | |
6084 | 6091 | | |
| |||
6186 | 6193 | | |
6187 | 6194 | | |
6188 | 6195 | | |
6189 | | - | |
| 6196 | + | |
6190 | 6197 | | |
6191 | 6198 | | |
6192 | 6199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3198 | 3198 | | |
3199 | 3199 | | |
3200 | 3200 | | |
| 3201 | + | |
| 3202 | + | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
| 3215 | + | |
| 3216 | + | |
| 3217 | + | |
| 3218 | + | |
| 3219 | + | |
| 3220 | + | |
| 3221 | + | |
| 3222 | + | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
| 3249 | + | |
| 3250 | + | |
| 3251 | + | |
| 3252 | + | |
| 3253 | + | |
| 3254 | + | |
| 3255 | + | |
| 3256 | + | |
| 3257 | + | |
| 3258 | + | |
| 3259 | + | |
| 3260 | + | |
| 3261 | + | |
| 3262 | + | |
| 3263 | + | |
| 3264 | + | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
| 3270 | + | |
| 3271 | + | |
3201 | 3272 | | |
3202 | 3273 | | |
3203 | 3274 | | |
| |||
0 commit comments