fix remaning tls data not sent
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
@ -134,7 +134,7 @@ func (p *Payload) Handle(stt any) (protocol.Payload, *State) {
|
|||||||
if st.HasMore() {
|
if st.HasMore() {
|
||||||
return p.sendNextChunk(st)
|
return p.sendNextChunk(st)
|
||||||
}
|
}
|
||||||
if st.HandshakeDone {
|
if st.Conn.writer.Len() == 0 && st.HandshakeDone {
|
||||||
return protocol.EmptyPayload{}, st
|
return protocol.EmptyPayload{}, st
|
||||||
}
|
}
|
||||||
if len(st.Conn.OutboundData()) > 0 {
|
if len(st.Conn.OutboundData()) > 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user