Skip to content

Commit 52c2026

Browse files
committed
passing lints and tests. Client interface incomplete and examples mising
1 parent 6dd4491 commit 52c2026

File tree

7 files changed

+303
-300
lines changed

7 files changed

+303
-300
lines changed

dialer.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import (
1313
pb "github.com/refraction-networking/conjure/proto"
1414
)
1515

16-
var randomizePortDefault = false
17-
1816
// IPSupport is a bitmask of supported IP versions.
1917
type IPSupport client.IPSupport
2018

pkg/client/common.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
package client
22

3-
const timeoutMax = 30000
4-
const timeoutMin = 20000
5-
6-
const sendLimitMax = 15614
7-
const sendLimitMin = 14400
8-
93
// Fixed-Size-Payload has a 1 byte flags field.
104
// bit 0 (1 << 7) determines if flow is bidirectional(0) or upload-only(1)
115
// bit 1 (1 << 6) enables dark-decoys

0 commit comments

Comments
 (0)