Commits
- Commit:
0f5f58bba93f6b0a435fdf59157ef453a2291ba1
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
channel: truncate twrite messages based on msize
While there are a few problems around handling of msize, the easiest to
address and, arguably, the most problematic is that of Twrite. We now
truncate Twrite.Data to the correct length if it will overflow the msize
limit negotiated on the session. ErrShortWrite is returned by the
`Session.Write` method if written data is truncated.
In addition, we now reject incoming messages from `ReadFcall` that
overflow the msize. Such messages are probably terminal in practice, but
can be detected with the `Overflow` function.
Tread is also handled accordingly, such that the Count field will be
rewritten such that the response doesn't overflow the msize.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
529e2b2efc36aab8a17e32ba2516fc89d4cbd43a
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #33 from stevvooe/new-context
p9p: use new context package throughout
- Commit:
be903fb70e1321c4a6bf326a59df71d618fc4fc7
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
p9p: use new context package throughout
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
4b33cdd0d581b4485aad245efc054d90f4fabe51
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
Merge branch 'pinata-filtered'
- Commit:
1f1a1b98065abdda04bc9128e4d8d8202a75bdd1
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
Merge branch 'pinata-pkg-filtered' into pinata-filtered
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
641595f816e782a5b39e5453e7afeed70c617ae0
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
pkg/p9p: refactor ServeConn to make room for Server
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
dfdc90e8217fbe1023860c90daff5415d2bc0ab9
- From:
- Adrien Duermael <adrien@docker.com>
- Date:
implementing p9p fs with v1/pkg/p9p (wip)
- Commit:
8404fb355041ce5292210491b039d5c28b568098
- From:
- Adrien Duermael <adrien@docker.com>
- Date:
implementing p9p fs with v1/pkg/p9p (wip)
- Commit:
e342de7d52c80e5babe159afd1452c790e709fc0
- From:
- Adrien Duermael <adrien@docker.com>
- Date:
v1/pkg/p9p