0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
openvpn3/openvpn/aws
Lev Stipakov 528ec40c11 aws: fix ReplaceRoute error handling
Commit 5b524b1f ("WS::ClientSet: added new TransactionSet flag
retry_on_http_4xx") sets E_BAD_REQUEST transport status in case of
HTTP 400. This breaks replace_create_route() behavior, which
doesn't expect transport error for ReplaceRoute and fails the
whole transaction set.

Fix by setting retry_on_http_4xx flag to false before executing
ReplaceRoute. We expect to get 400 if route doesn't exist, so no
need to retry.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2023-07-04 14:07:55 +00:00
..
awsca.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
awscreds.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
awshttp.hpp Do not allow SHA1 cipher suites when using preferred tls-cert-profile 2023-03-29 23:14:30 +02:00
awspc.hpp Do not allow SHA1 cipher suites when using preferred tls-cert-profile 2023-03-29 23:14:30 +02:00
awsrest.hpp Reformatting source code to new coding style 2023-01-18 19:24:15 +01:00
awsroute.hpp aws: fix ReplaceRoute error handling 2023-07-04 14:07:55 +00:00