mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-29 04:35:02 +08:00
fix typo
This commit is contained in:
@@ -569,7 +569,7 @@ class WindowUpdateFrame(Frame):
|
||||
def payload_bytes(self):
|
||||
if self.window_size_increment <= 0 or self.window_size_increment >= 2 ** 31:
|
||||
raise ValueError(
|
||||
'Window Szie Increment MUST be greater than 0 and less than 2^31.')
|
||||
'Window Size Increment MUST be greater than 0 and less than 2^31.')
|
||||
|
||||
return struct.pack('!L', self.window_size_increment & 0x7FFFFFFF)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user