Skip to content

Commit

Permalink
Re-enable reflect-to-site by setting continueOnError to false
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovis7 committed Nov 20, 2024
1 parent e15efa2 commit cf07138
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tlslistener/clienthelloconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,16 +205,16 @@ func (rrc *clientHelloRecordingConn) processHello(info *tls.ClientHelloInfo) (*t
// pre-defined tickets. If it doesn't we should again return some sort of error or just
// close the connection.
if !helloMsg.TicketSupported {
return rrc.helloError("ClientHello does not support session tickets", true)
return rrc.helloError("ClientHello does not support session tickets", false)
}

if len(helloMsg.SessionTicket) == 0 {
return rrc.helloError("ClientHello has no session ticket", true)
return rrc.helloError("ClientHello has no session ticket", false)
}

plainText, _ := utls.DecryptTicketWith(helloMsg.SessionTicket, rrc.ticketKeys)
if len(plainText) == 0 {
return rrc.helloError("ClientHello has invalid session ticket", true)
return rrc.helloError("ClientHello has invalid session ticket", false)
}

return nil, nil
Expand Down

0 comments on commit cf07138

Please sign in to comment.