mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Removed unecessary output from logs
Removed raw bytes of ICE answers from broker logs and the SDP stanzas from the client logs
This commit is contained in:
parent
611cb889c5
commit
3eb9064438
2 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ func proxyAnswers(ctx *BrokerContext, w http.ResponseWriter, r *http.Request) {
|
|||
w.WriteHeader(http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
log.Println("Received answer: ", body)
|
||||
log.Println("Received answer.")
|
||||
snowflake.answerChannel <- body
|
||||
}
|
||||
|
||||
|
|
|
@ -309,7 +309,7 @@ func (c *WebRTCPeer) exchangeSDP() error {
|
|||
answer = nil
|
||||
}
|
||||
}
|
||||
log.Printf("Received Answer:\n\n%s\n", answer.Sdp)
|
||||
log.Printf("Received Answer.\n")
|
||||
err := c.pc.SetRemoteDescription(answer)
|
||||
if nil != err {
|
||||
log.Println("WebRTC: Unable to SetRemoteDescription:", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue