commit 30fb6bfed76a52f87355052537d292e757969860 Author: George Kadianakis desnacked@riseup.net Date: Thu Sep 19 13:26:36 2013 +0300
Use "transport" instead of "transports" in flashproxy polls. --- facilitator/facilitator.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/facilitator/facilitator.cgi b/facilitator/facilitator.cgi index f970c51..bf2200b 100755 --- a/facilitator/facilitator.cgi +++ b/facilitator/facilitator.cgi @@ -54,7 +54,7 @@ def do_head():
def do_get(): """Parses flashproxy polls. - Example: GET /r=1&client=7.1.43.21&client=1.2.3.4&transports=webrtc,websocket + Example: GET /r=1&client=7.1.43.21&client=1.2.3.4&transport=webrtc&transport=websocket """
path_parts = [x for x in path_info.split("/") if x] @@ -68,7 +68,7 @@ def do_get():
# 'transports' (optional) can be repeated and carries # transport names. - transport_list = fs.getlist("transports") + transport_list = fs.getlist("transport") if transport_list is None: transport_list = ["websocket"]
tor-commits@lists.torproject.org