Skip to content

Commit

Permalink
up pac
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Oct 22, 2019
1 parent e6ca254 commit c034084
Show file tree
Hide file tree
Showing 6 changed files with 1,231 additions and 1,751 deletions.
1 change: 1 addition & 0 deletions v2rayN/v2rayN/Base/HttpWebServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public void Run()
try
{
string address = ctx.Request.LocalEndPoint.Address.ToString();
Utils.SaveLog("Webserver Request " + address);
string rstr = _responderMethod(address);
byte[] buf = Encoding.UTF8.GetBytes(rstr);
ctx.Response.StatusCode = 200;
Expand Down
1 change: 1 addition & 0 deletions v2rayN/v2rayN/Base/HttpWebServerB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private void ProcessThread(object obj)
if (_responderMethod != null)
{
var address = ((IPEndPoint)socket.Client.LocalEndPoint).Address.ToString();
Utils.SaveLog("WebserverB Request " + address);
string pac = _responderMethod(address);

if (inputStream.CanWrite)
Expand Down
74 changes: 37 additions & 37 deletions v2rayN/v2rayN/Forms/OptionSettingForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c034084

Please sign in to comment.