Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoonlight committed Jun 30, 2019
1 parent 0382686 commit 3c99b54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/NSmartProxy.ClientRouter/Router.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public async Task Start(bool AlwaysReconnect = false)
arrangedToken = File.ReadAllText(NSMART_CLIENT_CACHE_PATH);
//TODO 这个token的合法性无法保证,如果服务端删除了用户,而这里缓存还存在,会导致无法登录
//TODO ***** 这是个trick:防止匿名用户被服务端踢了之后无限申请新账号
//TODO 待解决 版本号无法显示的问题
CurrentLoginInfo = null;
}
else
Expand Down
4 changes: 2 additions & 2 deletions src/NSmartProxy.Infrastructure/Shared/Global.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
public sealed class Global
{
public const string NO_TOKEN_STRING = "notoken";
public const string NSmartProxyClientName = "NSmartProxy Client v0.8";
public const string NSmartProxyServerName = "NSmartProxy Server v0.8";
public const string NSmartProxyClientName = "NSmartProxy Client v0.9";
public const string NSmartProxyServerName = "NSmartProxy Server v0.9";

public const int ClientReconnectInterval = 3000;//客户端断线重连时间间隔(毫秒)

Expand Down
2 changes: 1 addition & 1 deletion src/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ rem windows only
rem NSP v0.8_bugfix
@ECHO off

set Ver=v0.8
set Ver=v0.9
set BuildPath=%~dp0../build

set nsp_server_path=%BuildPath%/nspclient_%Ver%
Expand Down

0 comments on commit 3c99b54

Please sign in to comment.