Commit 7eb82ea
committed
Add INVARIANT on the expected number of bytes being correctly written
This could end up mismatching for sufficently large messages exceding
the length of the pipe's buffer. For the moment it is better to halt if
this potential issue is encountered rather than risk introducing
communication problems. If this problem is encountered later then it may
be possible to work around by splitting the message into multiple writes
to the pipe.1 parent 5b75acd commit 7eb82ea
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
354 | 356 | | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
355 | 360 | | |
356 | 361 | | |
357 | 362 | | |
| |||
0 commit comments