mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 14:11:23 -04:00
Initial broker registration of browser proxies
- broker.coffee contains the xhr stuff - COR enabled on the go broker - POST body reflection works
This commit is contained in:
parent
f2d8a749f4
commit
28e557fb43
4 changed files with 57 additions and 8 deletions
|
@ -48,7 +48,7 @@ func regHandler(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
log.Println("Invalid data.")
|
||||
}
|
||||
|
||||
w.Header().Set("Access-Control-Allow-Origin", "*")
|
||||
// TODO: Get browser snowflake to talkto this appengine instance
|
||||
// so it can reply with an answer, and not just the offer again :)
|
||||
// TODO: Real broker which matches clients and snowflake proxies.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue