mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Fix broker test
This commit is contained in:
parent
c0b6383f26
commit
2680343790
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ func clientHandler(w http.ResponseWriter, r *http.Request) {
|
|||
// TODO: Needs improvement.
|
||||
snowflake := heap.Pop(snowflakes).(*Snowflake)
|
||||
if nil == snowflake {
|
||||
w.Header().Set("Status", http.StatusServiceUnavailable)
|
||||
w.WriteHeader(http.StatusServiceUnavailable)
|
||||
// w.Write([]byte("no snowflake proxies available"))
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue