|
Ran
|
Jobs
1
|
Files
34
|
Run time
1min
|
Badge
README BADGES
|
push
github
[backport] CA-426637: Drain the remaining bytes in metadata_handler (#7228) When make_tar ova.xml, the tar file length is topically ``` tar header (512) + xml + zero_pad to 512 + end-of-archive marker (2 × 512) + padding to RECORDSIZE ``` In metadata_handler, the with_open_archive reads to zero_pad, then it skipps end-of-archive marker. The remaining padding is not consumed. In some corner case, the server (XAPI) might close the connection when the client was still sending the padding part. Then the client would get a EPIPE error. In this PR, content-length is used to drain the remaining bytes in metadata_handler. Backport of PR #7209. (cherry picked from commit a4dcbfeab)
3504 of 4355 relevant lines covered (80.46%)
0.8 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | python3.11 - 32118212874.1 | 34 |
80.46 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|