Skip to content

Commit

Permalink
Merge pull request #277 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
gh-276 Fix for liveness check on req/resp for connect probes
  • Loading branch information
UltraInstinct14 committed May 15, 2023
2 parents 7905176 + eaecf39 commit ca4ec3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/go-openapi/swag v0.22.3
github.com/go-openapi/validate v0.22.0
github.com/jessevdk/go-flags v1.5.0
github.com/loxilb-io/loxilib v0.8.8-0.20230512160324-dc2b309abeab
github.com/loxilb-io/loxilib v0.8.8-0.20230515061719-1b8e69d35274
github.com/osrg/gobgp/v3 v3.5.0
github.com/prometheus-community/pro-bing v0.1.0
github.com/prometheus/client_model v0.3.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ github.com/loxilb-io/loxilib v0.8.8-0.20230512153855-7e0f13cf1a09 h1:t7yKu682dNi
github.com/loxilb-io/loxilib v0.8.8-0.20230512153855-7e0f13cf1a09/go.mod h1:4dz7zLVR/+XkCY+eevxrlXX4y2DeoVi3dzLwUDSQXqo=
github.com/loxilb-io/loxilib v0.8.8-0.20230512160324-dc2b309abeab h1:ufUyc+dksD0Ms6DqeW9hy3/7tW5CNBUwMTQMY9orsBI=
github.com/loxilb-io/loxilib v0.8.8-0.20230512160324-dc2b309abeab/go.mod h1:4dz7zLVR/+XkCY+eevxrlXX4y2DeoVi3dzLwUDSQXqo=
github.com/loxilb-io/loxilib v0.8.8-0.20230515061719-1b8e69d35274 h1:0t6fKyg7eUHs+zYASRMVu2utyAZEZrp0K2Wp9iHa+hI=
github.com/loxilb-io/loxilib v0.8.8-0.20230515061719-1b8e69d35274/go.mod h1:4dz7zLVR/+XkCY+eevxrlXX4y2DeoVi3dzLwUDSQXqo=
github.com/loxilb-io/sctp v0.0.0-20230512061258-63a8bc8f1b80 h1:rYO3BYcHt0ILY0sOeygtpUEEFsNS8KZBTbuEIW2foLk=
github.com/loxilb-io/sctp v0.0.0-20230512061258-63a8bc8f1b80/go.mod h1:1a6hv8ISVQhnW5IVpW9o+OL6BAFlWiVpC0O4d19g+wQ=
github.com/loxilb-io/sctp v0.0.0-20230512152123-70e9c76eb88a h1:ASVCk3Mk5n9fNJYJm1+QF9bsFCHysudzE8sj5nhj5P4=
Expand Down
2 changes: 1 addition & 1 deletion loxinet/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ func (R *RuleH) epCheckNow(ep *epHost) {
sHint = sIP.String()
}
}
sOk := tk.L4ServiceProber(sType, sName, sHint)
sOk := tk.L4ServiceProber(sType, sName, sHint, ep.opts.probeReq, ep.opts.probeResp)
ep.transitionState(sOk, ep.opts.inActTryThr)
} else if ep.opts.probeType == HostProbePing {
pinger, err := probing.NewPinger(ep.hostName)
Expand Down

0 comments on commit ca4ec3f

Please sign in to comment.