Skip to content

Commit 96d3c79

Browse files
committed
Merge branch 'develop' into on-demand-tls-interception
2 parents af292d1 + 7199459 commit 96d3c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/http/handler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def _parse_first_request(self, data: memoryview) -> bool:
307307
except Exception as exc:
308308
logger.exception('Error parsing the request', exc_info=exc)
309309
raise HttpProtocolException(
310-
'Error when parsing request: %s' % data.tobytes().decode('utf-8'),
310+
'Error when parsing request: %s' % data.tobytes().decode('utf-8', errors='ignore'),
311311
)
312312
if not self.request.is_complete:
313313
return False

0 commit comments

Comments
 (0)