Skip to content

Commit

Permalink
Trigger rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavsingh committed Apr 23, 2024
1 parent a20a87e commit 837d22a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions proxy/http/proxy/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,9 +726,9 @@ def generate_upstream_certificate(
):
raise HttpProtocolException(
f'For certificate generation all the following flags are mandatory: '
f'--ca-cert-file:{ self.flags.ca_cert_file}, '
f'--ca-key-file:{ self.flags.ca_key_file}, '
f'--ca-signing-key-file:{ self.flags.ca_signing_key_file}',
f'--ca-cert-file:{ self.flags.ca_cert_file }, '
f'--ca-key-file:{ self.flags.ca_key_file }, '
f'--ca-signing-key-file:{ self.flags.ca_signing_key_file }',
)
cert_file_path = HttpProxyPlugin.generated_cert_file_path(
self.flags.ca_cert_dir, text_(self.request.host),
Expand Down
4 changes: 2 additions & 2 deletions proxy/http/websocket/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ def build(self) -> bytes:
)
else:
raise ValueError(
f'Invalid payload_length { self.payload_length},'
f'maximum allowed { 1 << 64}',
f'Invalid payload_length { self.payload_length },'
f'maximum allowed { 1 << 64 }',
)
if self.masked and self.data:
mask = secrets.token_bytes(4) if self.mask is None else self.mask
Expand Down

0 comments on commit 837d22a

Please sign in to comment.