gotosocial/internal/transport
kim 2063d01cdb
[bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805)
* add back removed ValidateRequest() before backoff-retry loop

Signed-off-by: kim <grufwub@gmail.com>

* include response body in error response log

Signed-off-by: kim <grufwub@gmail.com>

* improved error response body draining

Signed-off-by: kim <grufwub@gmail.com>

* add more code commenting

Signed-off-by: kim <grufwub@gmail.com>

* move new error response logic to gtserror, handle instead in transport.Transport{} impl

Signed-off-by: kim <grufwub@gmail.com>

* appease ye oh mighty linter

Signed-off-by: kim <grufwub@gmail.com>

* fix mockhttpclient not setting request in http response

Signed-off-by: kim <grufwub@gmail.com>

---------

Signed-off-by: kim <grufwub@gmail.com>
2023-05-21 18:59:14 +02:00
..
controller.go [feature] Enable federation in/out of profile PropertyValue fields (#1722) 2023-05-09 11:16:10 +01:00
deliver.go [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
dereference.go [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
derefinstance.go [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
derefmedia.go [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
finger_test.go [chore] Change time comparison in webfinger test (#1798) 2023-05-16 15:09:29 +02:00
finger.go [bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) 2023-05-21 18:59:14 +02:00
signing.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
transport_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
transport.go [performance] improved request batching (removes need for queueing) (#1687) 2023-04-28 17:45:21 +02:00