1 、问题
PC浏览器上传表单格式大文件到手机服务器端,然后read文件真实数据时候出现阻塞。
比如
User-Agent: PostmanRuntime/7.26.1
Accept: */*
Cache-Control: no-cache
Postman-Token: c7e5e240-4398-4ac6-ba7f-98e99b5b4a01
Host: 10.15.42.180:9999
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Type: multipart/form-data; boundary=--------------------------118331203760563697512606
Content-Length: 221
----------------------------118331203760563697512606 52 * 2 = 104 52 + 2 = 54
Content-Disposition: form-data; name="chengyuimage"; filename="1.txt" 69 + 2 = 71
Content-Type: text/plain 24 + 2 = 26
2 * 2 = 4 0 + 2 = 2
0123456789 10 + 2 = 12
----------------------------118331203760563697512606-- 54 * 2 = 108 54 + 2 = 56
读取下面的数据时候,大文件会阻塞
--------