mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-01 12:03:32 -06:00
[chore] transport improvements (#1524)
* improve error readability, mark "bad hosts" as fastFail
Signed-off-by: kim <grufwub@gmail.com>
* pull in latest go-byteutil version with byteutil.Reader{}
Signed-off-by: kim <grufwub@gmail.com>
* use rewindable body reader for post requests
Signed-off-by: kim <grufwub@gmail.com>
---------
Signed-off-by: kim <grufwub@gmail.com>
This commit is contained in:
parent
3649b231c4
commit
a684fc4628
11 changed files with 84 additions and 63 deletions
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
|
@ -10,7 +10,7 @@ codeberg.org/gruf/go-bytes
|
|||
# codeberg.org/gruf/go-bytesize v1.0.2
|
||||
## explicit; go 1.17
|
||||
codeberg.org/gruf/go-bytesize
|
||||
# codeberg.org/gruf/go-byteutil v1.0.2
|
||||
# codeberg.org/gruf/go-byteutil v1.1.2
|
||||
## explicit; go 1.16
|
||||
codeberg.org/gruf/go-byteutil
|
||||
# codeberg.org/gruf/go-cache/v3 v3.2.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue