avoid padding content in serveGet
Always truncate instead. The padding risked something not noticing the content was bad and getting a file that was corrupted in a novel way with the padding "X" at the end. A truncated file is better.
This commit is contained in:
parent
4826a3745d
commit
72d0769ca5
2 changed files with 39 additions and 24 deletions
|
@ -28,6 +28,10 @@ Planned schedule of work:
|
|||
|
||||
## work notes
|
||||
|
||||
* servePut and clientPut pad the data to indicate when it's not valid.
|
||||
That should not be necessary, they should always be able to truncate the
|
||||
data.
|
||||
|
||||
* Implement: servePutOffset, serveLockContent
|
||||
|
||||
* A Locker should expire the lock on its own after 10 minutes initially.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue