Skip to content

Commit 1273853

Browse files
committed
update log
1 parent 5600020 commit 1273853

2 files changed

Lines changed: 4 additions & 24 deletions

File tree

README.md

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[English Home](https://github.com/XX-net/XX-Net/wiki/English-Home-Page)
2+
[中文文档](https://github.com/XX-net/XX-Net/wiki/%E4%B8%AD%E6%96%87%E6%96%87%E6%A1%A3)
23
[Persian Home](https://github.com/XX-net/XX-Net/wiki/Persian-home-page)
34

45

@@ -33,25 +34,3 @@ https://github.com/yeahwu/firefox-xx
3334
## 如何帮助项目
3435
https://github.com/XX-net/XX-Net/wiki/How-to-contribute
3536

36-
37-
## 集成XX-Net的项目
38-
* ChromeGAE
39-
http://www.ccav1.com/chromegae
40-
集成Google Chrome和XX-Net的自动翻墙浏览器
41-
维护人:Yanu
42-
43-
* 集成火狐和XX-Net
44-
https://github.com/yeahwu/firefox-xx
45-
46-
* plusburg
47-
https://github.com/Plusburg/Plusburg
48-
集成XX-Net的启动光盘镜像
49-
50-
* appifed-xx-net
51-
https://github.com/binarydist/appified-xx-net
52-
Mac OS X 环境下,变成一个标准的Mac应用
53-
54-
* ComodoDragonPortable:
55-
https://github.com/mikedchavez1010/ComodoDragonPortable
56-
为XX-Net和Lantern定制的便携浏览器
57-
仅支持Windows,心系安全

x_tunnel/local/proxy_session.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def login_session(self):
150150

151151
time_cost = time.time() - start_time
152152
if status != 200:
153-
g.last_api_error = "session server login fail:%d" % status
153+
g.last_api_error = "session server login fail:%r" % status
154154
xlog.warn("login session fail, status:%r", status)
155155
return False
156156

@@ -235,7 +235,7 @@ def download_data_processor(self, data):
235235
conn_id = struct.unpack("<I", data.get(4))[0]
236236
payload = data.get_buf(data_len - 4)
237237
if conn_id not in self.conn_list:
238-
xlog.warn("DATA conn_id %d not in list", conn_id)
238+
xlog.debug("DATA conn_id %d not in list", conn_id)
239239
else:
240240
# xlog.debug("down conn:%d len:%d", conn_id, len(payload))
241241
self.conn_list[conn_id].put_cmd_data(payload)
@@ -507,6 +507,7 @@ def request_balance(account, password, is_register=False, update_server=True):
507507
if update_server:
508508
g.server_host = str(info["host"])
509509
g.server_port = info["port"]
510+
xlog.info("update xt_server %s:%d", g.server_host, g.server_port)
510511

511512
g.balance = info["balance"]
512513
xlog.info("request_balance host:%s port:%d balance:%f quota:%f", g.server_host, g.server_port,

0 commit comments

Comments
 (0)