Skip to content
Merged
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 proxy/http/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _parse_first_request(self, data: memoryview) -> bool:
except Exception as exc:
logger.exception('Error parsing the request', exc_info=exc)
raise HttpProtocolException(
'Error when parsing request: %s' % data.tobytes().decode('utf-8'),
'Error when parsing request: %s' % data.tobytes().decode('utf-8', errors='ignore'),
)
if not self.request.is_complete:
return False
Expand Down