[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Send the list of currently handled clients in proxy polling messages.
commit 1772539eff9d17e8f825a685bb3ab94d4e0abe85
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Mon Sep 10 21:26:49 2012 -0700
Send the list of currently handled clients in proxy polling messages.
---
proxy/flashproxy.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/proxy/flashproxy.js b/proxy/flashproxy.js
index 63413fc..59b3d92 100644
--- a/proxy/flashproxy.js
+++ b/proxy/flashproxy.js
@@ -544,6 +544,9 @@ function FlashProxy() {
/* Flash proxy protocol revision. */
params = [["r", "1"]];
+ /* Clients we're currently handling. */
+ for (var i = 0; i < this.proxy_pairs.length; i++)
+ params.push(["client", format_addr(this.proxy_pairs[i].client_addr)]);
url = this.fac_url.replace(/\?.*/, "") + "?" + build_query_string(params);
xhr = new XMLHttpRequest();
try {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits