Commit a0beba0
committed
Fix bad request for multipart form data with boundary split
Fix a bad request (400) response for multipart form data requests with
a large header which leads to a split inside the boundary because of the
read buffer size inside the SocketStream class. The parse function
inside the MultipartFormDataParser wrongly erase the receive buffer if
it doesn't find the boundary inside the buffer during first call.1 parent 70f4d7d commit a0beba0
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5011 | 5011 | | |
5012 | 5012 | | |
5013 | 5013 | | |
5014 | | - | |
5015 | | - | |
5016 | | - | |
5017 | | - | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
5018 | 5017 | | |
5019 | 5018 | | |
5020 | 5019 | | |
| |||
0 commit comments