Farokh
da6c80ecda
go get -u .
2025-08-21 12:17:34 +02:00
Cassondra Foesch
53c62f1551
Merge pull request #632 from pkg/fix-ssh-client-use
...
CI / Run test cases (1.23, macos-latest) (push) Has been cancelled
Details
CI / Run test cases (1.23, ubuntu-latest) (push) Has been cancelled
Details
CI / Run test cases (1.24, ubuntu-latest) (push) Has been cancelled
Details
Fix SSH subsystemrequest usage
2025-07-13 18:13:11 +00:00
Cassondra Foesch
c7176b3c6e
rework recv debug messages to be context-added errors
2025-05-30 14:00:15 +00:00
Cassondra Foesch
d9ce3caa72
convert uses of uint8 instead of fxp to fxp
2025-05-30 13:30:46 +00:00
Cassondra Foesch
9ae47f4170
better debug info
2025-05-30 13:23:15 +00:00
Cassondra Foesch
8a0fc6568b
DO NOT close the CopyStderrTo writer
2025-05-30 12:50:06 +00:00
Cassondra Foesch
f1b135a6f5
invert if-blocks to reduce indention levels
2025-05-23 10:25:23 +00:00
Cassondra Foesch
32bfbbb6c0
I think I prefer this API design
2025-05-23 10:18:29 +00:00
Cassondra Foesch
18192955ef
fix ssh subsystem request invocation
2025-05-23 09:21:31 +00:00
Nicola Murino
36ce9cfd5c
Merge pull request #629 from drakkan/tidy
...
run go mod tidy
2025-03-28 21:44:05 +01:00
Nicola Murino
7d16eb687f
run go mod tidy
2025-03-28 21:39:58 +01:00
Nicola Murino
7049dd7cdd
Merge pull request #628 from drakkan/goversion
...
go.mod: set the minimum version to 1.23.0 as x/crypto
2025-03-28 16:46:10 +01:00
Nicola Murino
28eb326a67
CI: swith to Go 1.23 and 1.24
2025-03-28 10:26:22 +01:00
Nicola Murino
8c3d7097fd
update deps
2025-03-28 10:25:39 +01:00
Nicola Murino
210a475d5c
go.mod: set the minimum version to 1.23.0 as x/crypto
2025-03-28 10:23:41 +01:00
Cassondra Foesch
02ac914e35
Merge pull request #626 from kbutz/go-and-crypto-version-updates
...
Update crypto version to v0.35.0 sftp#625
2025-03-27 23:39:29 +00:00
Kyle Briar
d4cb202a81
Update crypto version to v0.35.0 sftp#625
2025-03-26 10:14:02 -07:00
kyle.butz
76003fea2c
Update crypto version to v0.35.0 sftp#625
2025-03-25 20:38:45 -07:00
Cassondra Foesch
320d62f9de
Merge pull request #623 from justfalter/read-full
...
perf: ensure full write buffer for *File.ReadFrom
2025-03-25 13:30:11 +00:00
Mike Ryan
28eb389db7
perf: ensure full write buffer for *File.ReadFrom
...
In `*File.ReadFrom`, ensure that the buffer is filled to capacity (`maxPacket`
length) before performing the write.
Prior to this change, the amount of data read into the buffer was dictated by
the `io.Reader`'s `Read` implementation, and write performance would suffer
when the Read would return less than maxPacket bytes of data. An example
source would be a `net/http` response `Body` from a TLS server, which
seems to cap each read to 16384 bytes -- half the default max packet size of
32768 bytes.
2025-03-24 08:47:25 -05:00
Cassondra Foesch
19bfb49e71
Merge pull request #618 from pkg/v1-backport-client-remove-and-fsync
...
Backport v2/Client.Remove and File.Sync
2025-03-12 15:08:34 +00:00
Cassondra Foesch
5b63029e5d
Merge pull request #621 from cloudsbit/bugfix/readAt-hang
...
fix: readAt() occasional hang in concurrent reads
2025-03-12 15:06:49 +00:00
cloudsbit
067046a74c
fix: readAt() occasional hang in concurrent reads
2025-03-12 08:42:59 +08:00
Cassondra Foesch
eea14d0395
if errF and errD are pointers to os.PathError, then they won't compare equal, even when they are
2025-03-04 09:40:55 +00:00
Cassondra Foesch
584399def2
oops, duh
2025-02-27 14:02:29 +00:00
Cassondra Foesch
27c9969928
go mod tidy
2025-02-27 13:53:16 +00:00
Cassondra Foesch
46608778f5
backport v2/client.Remove; return PathError
2025-02-27 13:52:52 +00:00
Cassondra Foesch
a2172dc0b9
short-circuit File.Sync if not supported
2025-02-27 13:51:25 +00:00
Cassondra Foesch
fb0652cf58
Merge pull request #611 from pkg/ISSUE-609-clarify-mkdirall-error-condition
...
Issue #609 - clarify what 'path contains a regular file' actually means
2025-01-03 17:18:05 +00:00
Cassondra Foesch
088878ba50
Merge pull request #571 from powellnorma/win-root
...
server.go: "/" for windows
2025-01-03 17:17:45 +00:00
powellnorma
6be1dd2db9
review adjustments
2025-01-02 20:15:18 +01:00
powellnorma
33e8fe86c2
go.mod: add golang.org/x/sys
2025-01-01 16:24:12 +01:00
powellnorma
524cb6221d
Merge branch 'master' into win-root
2025-01-01 16:23:41 +01:00
powellnorma
8dcbf480f2
windows root: add stat for '/'
2025-01-01 16:23:02 +01:00
powellnorma
d8192421c2
examples/go-sftp-server: add '-wr'
2025-01-01 16:06:54 +01:00
Cassondra Foesch
050bb2ea5f
Issue #609 - clarify what 'path contains a regular file' actually means
2024-12-30 03:43:58 +00:00
Cassondra Foesch
a3da03b0ba
Merge pull request #607 from pkg/dependabot/go_modules/golang.org/x/crypto-0.31.0
...
Bump golang.org/x/crypto from 0.17.0 to 0.31.0
2024-12-12 03:25:48 +00:00
dependabot[bot]
1910b9509c
Bump golang.org/x/crypto from 0.17.0 to 0.31.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.17.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 23:32:54 +00:00
Cassondra Foesch
c8fe1f6964
Merge pull request #588 from emar-kar/lemarkar/update-read-docs
...
update ReadFrom and ReadFromWithConcurrency docs
2024-06-05 14:22:45 +00:00
Leonid Emar-Kar
1988803cae
update docs with suggested improvements
2024-06-05 10:53:34 +01:00
Leonid Emar-Kar
1629551c5e
update ReadFrom and ReadFromWithConcurrency docs
2024-06-04 12:32:01 +01:00
Cassondra Foesch
54946566af
Merge pull request #584 from peterverraedt/configure-maxTxPacket
...
Add WithMaxTxPacket server option
2024-04-26 23:33:39 +00:00
Peter Verraedt
c1f47ba1b9
Add WithMaxTxPacket server option
...
Add the WithMaxTxPacket and WithRSMaxTxPacket server options to increase
the maximum tx packet size to a value above 32K. This allows to send
bigger chunks of data to the client as response to a read request. As
the client specifies the wanted length, it should be safe to increase
the server maximum value.
This in particular allows the implemented Client with the
MaxPacketUnchecked option to retrieve data in larger chunks.
Signed-off-by: Peter Verraedt <peter@verraedt.be>
2024-04-26 09:04:33 +02:00
Cassondra Foesch
06342e8b90
Merge pull request #583 from peterverraedt/marshal-extended-client
...
Add SetExtendedAttrs to Client
2024-04-26 00:54:39 +00:00
Peter Verraedt
478aa2e956
Add fsetstat variant of SetExtendedData
...
Signed-off-by: Peter Verraedt <peter@verraedt.be>
2024-04-25 16:20:01 +02:00
Peter Verraedt
0814039fdf
Add SetExtendedData to Client
...
Add function to set extended attributes in the sftp client.
Signed-off-by: Peter Verraedt <peter@verraedt.be>
Add longer comment
Signed-off-by: Peter Verraedt <peter@verraedt.be>
2024-04-25 14:53:25 +02:00
Nicola Murino
6370888833
Merge pull request #577 from drakkan/lister-close
...
add CloserListerAt
2024-04-10 08:35:31 +02:00
Nicola Murino
e52de81b00
Fix merge with master
2024-04-09 18:08:42 +02:00
Nicola Murino
073d834b5c
Merge branch 'master' into win-root
2024-04-09 18:03:22 +02:00
Cassondra Foesch
c194b63c4b
Update the S_IFMT godoc.
2024-04-08 18:34:16 +00:00