Commits
- Commit:
64abb42af527ed0dacbef777a5dbe36e3b1147f0
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #38 from progrium/ufs
ufs: added mostly working unix filesystem server session implementation
- Commit:
a96bd10f7db2c3ccbd86de2ef0a73d8531320d76
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #39 from flynn/fix-readdir-eof
Fix EOF indication from Readdir
- Commit:
e571b90ca9a068d641827d102a2935d34d87c441
- From:
- Jonathan Rudenberg <jonathan@titanous.com>
- Via:
- Jeff Lindsay <progrium@gmail.com>
- Date:
ufs: Allow fid to be 0
0 is a valid fid, so check against the NOFID value instead.
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
- Commit:
2da28ffa5677256a39b68be0a167e698c05e81bd
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #40 from flynn/cleanup-logging
Clean up logging
- Commit:
84f0f75de1046edef2d7f859f2ff09285b483bc8
- From:
- Jonathan Rudenberg <jonathan@titanous.com>
- Via:
- Jeff Lindsay <progrium@gmail.com>
- Date:
ufs: Fix deadlock in Create
Ensure that we don't attempt to lock the FileRef twice, which causes
a deadlock.
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
- Commit:
33d1516211d64cc5f3039898d3d635b29fbe6bf6
- From:
- Jonathan Rudenberg <jonathan@titanous.com>
- Date:
Fix EOF indication from Readdir
EOF is indicated by a zero-length result with no error, so ensure
that io.EOF does not ever get returned by Readdir.Read.
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
- Commit:
b1b8898e7cb788d8274eb8d4c9cca1fe380f505a
- From:
- Jeff Lindsay <progrium@gmail.com>
- Date:
ufs: added mostly working unix filesystem server session implementation
Signed-off-by: Jeff Lindsay <progrium@gmail.com>
- Commit:
f2ad3c4d4632f2eaecafaf60f3b0e3358209072d
- From:
- Jonathan Rudenberg <jonathan@titanous.com>
- Date:
Clean up logging
Ensure that the server only logs in exceptional cases and prefixes
each log line with the package name.
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
- Commit:
87ae8514a3a2d9684994a6c319f96ba9e18a062e
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #37 from docker/stevvooe-patch-1
build: add 1.8 and tip to travis build
- Commit:
4a062b38f25cc43661f462ffffeb99456b98a64e
- From:
- Jonathan Rudenberg <jonathan@titanous.com>
- Via:
- Jeff Lindsay <progrium@gmail.com>
- Date:
Fix EOF indication from Readdir
EOF is indicated by a zero-length result with no error, so ensure
that io.EOF does not ever get returned by Readdir.Read.
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
- Commit:
17bb6c76652d3586db02c981d263f583089ef1f7
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- Stephen J Day <stephen.day@docker.com>
- Date:
build: add 1.8 and tip to travis build
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Commit:
15c991ffd123e158e2c8bfcb05733f5a37f0fa0e
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #36 from stevvooe/cleanup-encoding-tests
encoding: clean up unit tests
- Commit:
c74282f87c41aad90bbd9edc99c3c1fe45d65953
- From:
- Stephen Day <stevvooe@users.noreply.github.com>
- Via:
- GitHub <noreply@github.com>
- Date:
Merge pull request #30 from stevvooe/truncate-twrite-msize
channel: truncate twrite messages based on msize
- Commit:
90c38a8a660a1f6de218db4636be257b908b5d2b
- From:
- Stephen J Day <stephen.day@docker.com>
- Date:
encoding: clean up unit tests
Signed-off-by: Stephen J Day <stephen.day@docker.com>
- 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>