Skip to content

Commit f3865a5

Browse files
committed
pldm-file: client: send NEXT_PART requests with TransferContext set
Currently, we clear out the TransferContext field of NEXT_PART multipart receive commands, in line with handling for the offset and length fields (as required by the spec). However, hosts may be relying on the TransferContext for subsequent requests too, so don't clear that out for NEXT_PART reqs. Signed-off-by: Jeremy Kerr <[email protected]>
1 parent 018b25d commit f3865a5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pldm-file/src/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ where
228228

229229
part_offset = total_len;
230230
req.xfer_op = pldm::control::xfer_op::NEXT_PART;
231-
req.xfer_context = 0;
232231
req.xfer_handle = read_resp.next_handle;
233232
req.req_offset = 0;
234233
req.req_length = 0;

0 commit comments

Comments
 (0)