John-Mark Gurney e8ac8c5818 | 4 years ago | |
---|---|---|
ggatessh | 4 years ago | |
libssh2 | 4 years ago | |
shared | 4 years ago | |
tests | 4 years ago | |
tools | 4 years ago | |
.gitignore | 4 years ago | |
Makefile | 4 years ago | |
Makefile.inc | 4 years ago | |
README.md | 4 years ago |
This is a working tree for ggate work.
This is a variant of ggatec using sftp instead of talking to ggated.
It uses the libssh2 library with a few modifications. The build system will be updated to compile and use libssh2. There is at least one minor modification needed to turn off read-ahead for sftp support.
By default, libssh2 assumes that you’ll read a whole file sequentially in blocking mode, and if it does not do this, there will be pipeline stalls. In our case, this would result in lots of wasted bandwith as we will be seeking around the file to read and write, and so this feature needs to be disabled.
If you install the program, entr
, you can use the top level target,
devtest
to automatically compile, install, and run the tests whenever
a dependant file is modified. The libssh2 library will not be built,
and needs to be built manually.