Commit eb9d0ba
doc: warn against concurrent http2stream.respondWithFD
Upcoming changes to move away from synchronous I/O on the main
thread will imply that using the same file descriptor to
respond on multiple HTTP/2 streams at the same time is invalid,
because at least on Windows `uv_fs_read()` is race-y.
Therefore, warn against such usage.
PR-URL: #18762
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent c569f70 commit eb9d0baCopy full SHA for eb9d0ba
File tree
Expand file treeCollapse file tree
1 file changed
+13
-6
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+13
-6
lines changedOpen diff view settings
Collapse file
+13-6Lines changed: 13 additions & 6 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1262 | 1262 | |
1263 | 1263 | |
1264 | 1264 | |
1265 | | - |
1266 | | - |
1267 | 1265 | |
1268 | 1266 | |
| 1267 | + |
| 1268 | + |
1269 | 1269 | |
1270 | 1270 | |
1271 | 1271 | |
1272 | 1272 | |
1273 | 1273 | |
1274 | 1274 | |
1275 | 1275 | |
| 1276 | + |
1276 | 1277 | |
1277 | | - |
1278 | 1278 | |
1279 | 1279 | |
1280 | 1280 | |
| ||
1287 | 1287 | |
1288 | 1288 | |
1289 | 1289 | |
| 1290 | + |
| 1291 | + |
| 1292 | + |
| 1293 | + |
| 1294 | + |
| 1295 | + |
1290 | 1296 | |
1291 | 1297 | |
1292 | 1298 | |
| ||
1296 | 1302 | |
1297 | 1303 | |
1298 | 1304 | |
1299 | | - |
1300 | | - |
1301 | 1305 | |
1302 | 1306 | |
| 1307 | + |
| 1308 | + |
1303 | 1309 | |
1304 | 1310 | |
1305 | 1311 | |
| ||
1311 | 1317 | |
1312 | 1318 | |
1313 | 1319 | |
| 1320 | + |
| 1321 | + |
1314 | 1322 | |
1315 | | - |
1316 | 1323 | |
1317 | 1324 | |
1318 | 1325 | |
|
0 commit comments