Skip to content

Commit

Permalink
Merge branch 'master' into staging-server
Browse files Browse the repository at this point in the history
  • Loading branch information
rod-hynes committed May 15, 2023
2 parents 461b94c + 2d27cdc commit 2d8440f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion psiphon/common/obfuscator/passthrough_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func TestTLSPassthrough(t *testing.T) {
timeDiff = -timeDiff
}

if timeDiff.Microseconds() > 100 {
if timeDiff.Microseconds() > 500 {
t.Fatalf("unexpected elapsed time difference")
}
})
Expand Down
4 changes: 2 additions & 2 deletions psiphon/server/meek.go
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ func (conn *meekConn) SetReplay(PRNG *prng.PRNG) {

if conn.meekServer.normalizer != nil {
// The underlying conn is wrapped with a normalizer.
normalizer, ok := conn.meekSession.underlyingConn.(*transforms.HTTPNormalizer)
normalizer, ok := underlyingConn.(*transforms.HTTPNormalizer)
if ok {
underlyingConn = normalizer.Conn
}
Expand All @@ -1674,7 +1674,7 @@ func (conn *meekConn) GetReplay() (*prng.Seed, bool) {

if conn.meekServer.normalizer != nil {
// The underlying conn is wrapped with a normalizer.
normalizer, ok := conn.meekSession.underlyingConn.(*transforms.HTTPNormalizer)
normalizer, ok := underlyingConn.(*transforms.HTTPNormalizer)
if ok {
underlyingConn = normalizer.Conn
}
Expand Down

0 comments on commit 2d8440f

Please sign in to comment.