This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 7f49088
committed
[[ Bug 16745 ]] Fix $_POST_RAW on Windows Server
This patch fixes an issue where `$_POST_RAW` was not set if posted data
was too large to be buffered. The issue was caused by:
* When a file was created for caching the post data it was using `OpenFd`
which only supports the stdio handles on Windows.
* When reading from the cache we need to iterate until the read either
fails or completes the required read length.1 parent fda2a2e commit 7f49088
File tree
3 files changed
+16
-25
lines changed- docs/notes
- engine/src
3 files changed
+16
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
| 996 | + | |
996 | 997 | | |
997 | 998 | | |
998 | 999 | | |
999 | | - | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
1000 | 1006 | | |
1001 | 1007 | | |
1002 | 1008 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | 1244 | | |
1249 | | - | |
1250 | 1245 | | |
1251 | | - | |
1252 | 1246 | | |
1253 | 1247 | | |
1254 | 1248 | | |
1255 | | - | |
| 1249 | + | |
1256 | 1250 | | |
1257 | | - | |
| 1251 | + | |
| 1252 | + | |
1258 | 1253 | | |
1259 | 1254 | | |
1260 | 1255 | | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | 1256 | | |
1267 | 1257 | | |
1268 | 1258 | | |
| |||
1277 | 1267 | | |
1278 | 1268 | | |
1279 | 1269 | | |
1280 | | - | |
| 1270 | + | |
1281 | 1271 | | |
1282 | 1272 | | |
1283 | 1273 | | |
1284 | 1274 | | |
1285 | | - | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
| 1275 | + | |
| 1276 | + | |
1289 | 1277 | | |
1290 | 1278 | | |
1291 | 1279 | | |
1292 | 1280 | | |
1293 | 1281 | | |
1294 | 1282 | | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
| 1283 | + | |
| 1284 | + | |
1299 | 1285 | | |
1300 | | - | |
1301 | | - | |
1302 | 1286 | | |
1303 | 1287 | | |
1304 | 1288 | | |
| |||
0 commit comments