Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrease minimal Hello and Window to tolerate OpenBSD values #538

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2790,7 +2790,7 @@ def test_send_max_data_blocked_by_cc(self):
# window too strictly as its exact value depends on the size
# of our ACKs, which depends on the execution time.
self.assertEqual(client._loss.bytes_in_flight, 0)
self.assertGreaterEqual(client._loss.congestion_window, 13530)
self.assertGreaterEqual(client._loss.congestion_window, 13472)
self.assertLessEqual(client._loss.congestion_window, 13540)

# artificially raise received data counter
Expand Down
2 changes: 1 addition & 1 deletion tests/test_tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def reset_buffers(buffers):
class ContextTest(TestCase):
def assertClientHello(self, data: bytes):
self.assertEqual(data[0], tls.HandshakeType.CLIENT_HELLO)
self.assertGreaterEqual(len(data), 191)
self.assertGreaterEqual(len(data), 189)
self.assertLessEqual(len(data), 564)

def create_client(
Expand Down
Loading