Skip to content
Merged
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 httpcore/_async/http11.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


class AsyncHTTP11Connection(AsyncBaseHTTPConnection):
READ_NUM_BYTES = 4096
READ_NUM_BYTES = 64 * 1024

def __init__(
self, socket: AsyncSocketStream, ssl_context: SSLContext = None,
Expand Down
2 changes: 1 addition & 1 deletion httpcore/_async/http2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_reason_phrase(status_code: int) -> bytes:


class AsyncHTTP2Connection(AsyncBaseHTTPConnection):
READ_NUM_BYTES = 4096
READ_NUM_BYTES = 64 * 1024
CONFIG = H2Configuration(validate_inbound_headers=False)

def __init__(
Expand Down
2 changes: 1 addition & 1 deletion httpcore/_sync/http11.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


class SyncHTTP11Connection(SyncBaseHTTPConnection):
READ_NUM_BYTES = 4096
READ_NUM_BYTES = 64 * 1024

def __init__(
self, socket: SyncSocketStream, ssl_context: SSLContext = None,
Expand Down
2 changes: 1 addition & 1 deletion httpcore/_sync/http2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get_reason_phrase(status_code: int) -> bytes:


class SyncHTTP2Connection(SyncBaseHTTPConnection):
READ_NUM_BYTES = 4096
READ_NUM_BYTES = 64 * 1024
CONFIG = H2Configuration(validate_inbound_headers=False)

def __init__(
Expand Down