sftpgo/common
Nicola Murino 8502d7b051
improve transfer quota limits test case
ReadAll can read more bytes than the effective size, for this test
io.Copy is better

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-03-15 22:13:07 +01:00
..
actions.go make the sdk a separate module 2022-01-06 11:54:43 +01:00
actions_test.go make the sdk a separate module 2022-01-06 11:54:43 +01:00
clientsmap.go modules: add v2 support 2021-06-26 07:31:41 +02:00
clientsmap_test.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
common.go OIDC: execute pre-login hook after IDP authentication 2022-02-19 10:53:35 +01:00
common_test.go add support for a start directory 2022-03-03 12:44:56 +01:00
connection.go simplify rename permission 2022-02-26 12:19:09 +01:00
connection_test.go simplify rename permission 2022-02-26 12:19:09 +01:00
dataretention.go change log level from warn to error where appropriate 2021-12-16 19:53:00 +01:00
dataretention_test.go make the sdk a separate module 2022-01-06 11:54:43 +01:00
defender.go remove the use of some unnecessary pointers 2022-01-16 12:09:17 +01:00
defender_test.go defender: add provider driver 2021-12-25 12:08:07 +01:00
defenderdb.go remove the use of some unnecessary pointers 2022-01-16 12:09:17 +01:00
defenderdb_test.go defender: add provider driver 2021-12-25 12:08:07 +01:00
defendermem.go remove the use of some unnecessary pointers 2022-01-16 12:09:17 +01:00
httpauth.go add experimental plugin system 2021-07-11 15:26:51 +02:00
httpauth_test.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
protocol_test.go improve transfer quota limits test case 2022-03-15 22:13:07 +01:00
ratelimiter.go rate limiting: allow to exclude IP addresses/ranges 2021-10-03 20:50:05 +02:00
ratelimiter_test.go rate limiting: allow to exclude IP addresses/ranges 2021-10-03 20:50:05 +02:00
tlsutils.go add experimental plugin system 2021-07-11 15:26:51 +02:00
tlsutils_test.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
transfer.go update data transfer quota only if the current IP has some limits 2022-01-31 19:30:25 +01:00
transfer_test.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
transferschecker.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
transferschecker_test.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00