*Sigh*: use the state.Size() for the incoming size, not size which is the reply size.
Attach a file by drag & drop or click to upload