make certificate configurable

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-16 15:59:10 +02:00
parent fa06c9fe4e
commit 3ada3a7e0e
13 changed files with 117 additions and 32 deletions

View File

@ -42,7 +42,7 @@ func NewBuffConn(initialData []byte, ctx context.Context) *BuffConn {
var errStall = errors.New("Stall")
func (conn BuffConn) OutboundData() []byte {
d, err := retry.DoWithData(
d, _ := retry.DoWithData(
func() ([]byte, error) {
b := conn.writer.Bytes()
if len(b) < 1 {
@ -52,9 +52,6 @@ func (conn BuffConn) OutboundData() []byte {
},
conn.retryOptions...,
)
if err != nil {
return []byte{}
}
return d
}