Skip to content
This repository was archived by the owner on Jul 9, 2023. It is now read-only.

Commit 3461257

Browse files
authored
Merge pull request #718 from justcoding121/beta
stable
2 parents a5aff64 + bc6e381 commit 3461257

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.build/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Task Document -depends Build {
120120
git config --global credential.helper store
121121
Add-Content "$HOME\.git-credentials" "https://$($env:github_access_token):[email protected]`n"
122122
git config --global user.email $env:github_email
123-
git config --global user.name "buildbot121"
123+
git config --global user.name "buildbot171"
124124
git add . -A
125125
git commit -m "API documentation update by build server"
126126
git push origin master

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ test_script:
4545
skip_tags: true
4646

4747
skip_commits:
48-
author: buildbot121
48+
author: buildbot171
4949
files:
5050
- docs/*
5151
- .vscode/*
@@ -64,9 +64,9 @@ artifacts:
6464

6565
environment:
6666
github_access_token:
67-
secure: BGdKiI7FwHGkFt+/OmgZDkE1hzLqLrTxcc9c+joVqGyO4LvesHb1sR6hzisVwVPm
67+
secure: mZLeq0GTB9kb5b6+HnVpJB6hhiYMJIQ2+Zf/DwZ/LEIyxJaYB1nx36aGHXE9q1cN
6868
github_email:
69-
secure: wvYod3JLufbIBkavRXlCP724wJkhqR2RRuLLaPnqfps=
69+
secure: iBJZGqxyiHVNeYI0uIW+MdGd3I3pg8brJtETNRkKe/A=
7070
nuget_access_token:
7171
secure: ZbRmjOcp+TDllRV1wxqLZjdRV7hld388rXlWVJuGGiQleomP9Ku+Nsy3a75E7/9k
7272
deploy:

src/Titanium.Web.Proxy/Network/Tcp/TcpConnectionFactory.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@ private async Task<TcpServerConnection> createServerConnection(string remoteHost
385385
tcpServerSocket = new Socket(addressFamily, SocketType.Stream, ProtocolType.Tcp);
386386
}
387387

388+
if (upStreamEndPoint != null)
389+
{
390+
tcpServerSocket.Bind(upStreamEndPoint);
391+
}
392+
388393
tcpServerSocket.NoDelay = proxyServer.NoDelay;
389394
tcpServerSocket.ReceiveTimeout = proxyServer.ConnectionTimeOutSeconds * 1000;
390395
tcpServerSocket.SendTimeout = proxyServer.ConnectionTimeOutSeconds * 1000;

0 commit comments

Comments
 (0)