Skip to content

Commit

Permalink
Merge pull request #580 from RUB-NDS/nimrod_SNI
Browse files Browse the repository at this point in the history
Fixes for SNI from nimia
  • Loading branch information
ic0ns authored Aug 15, 2019
2 parents bb2b5a5 + 36887c2 commit 924460e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ Utils/.settings/org.eclipse.core.resources.prefs
Utils/.settings/org.eclipse.jdt.core.prefs
.project
test.sh
.settings/
.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public OutboundConnection(String alias, Integer port, String hostname) {
public OutboundConnection(OutboundConnection other) {
this.alias = other.alias;
this.hostname = other.hostname;
this.ip = other.ip;
this.port = other.port;
this.proxyDataHostname = other.proxyDataHostname;
this.proxyDataPort = other.proxyDataPort;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public ClientTcpTransportHandler(Connection connection) {
this.connectionTimeout = 60000;
}

public ClientTcpTransportHandler(Connection connection, long timeout) {
this(connection);
this.connectionTimeout = timeout;
}

public ClientTcpTransportHandler(long timeout, String hostname, int port) {
super(timeout, ConnectionEndType.CLIENT);
this.hostname = hostname;
Expand Down

0 comments on commit 924460e

Please sign in to comment.