fix some typos (#6728)

This commit is contained in:
pengqiseven 2024-03-11 15:19:36 +08:00 committed by GitHub
parent ee5aac0a12
commit a8603cac0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
""" """
Process individual messages from a TCP connection. Process individual messages from a TCP connection.
This script replaces full occurences of "foo" with "bar" and prints various details for each message. This script replaces full occurrences of "foo" with "bar" and prints various details for each message.
Please note that TCP is stream-based and *not* message-based. mitmproxy splits stream contents into "messages" Please note that TCP is stream-based and *not* message-based. mitmproxy splits stream contents into "messages"
as they are received by socket.recv(). This is pretty arbitrary and should not be relied on. as they are received by socket.recv(). This is pretty arbitrary and should not be relied on.
However, it is sometimes good enough as a quick hack. However, it is sometimes good enough as a quick hack.

View File

@ -6,7 +6,7 @@
# - dumper_folder: content dump destination folder (default: ./httpdump) # - dumper_folder: content dump destination folder (default: ./httpdump)
# - open_browser: open integrated browser with proxy configured at start (default: true) # - open_browser: open integrated browser with proxy configured at start (default: true)
# #
# remember to add your own mitmproxy authorative certs in your browser/os! # remember to add your own mitmproxy authoritative certs in your browser/os!
# certs docs: https://docs.mitmproxy.org/stable/concepts-certificates/ # certs docs: https://docs.mitmproxy.org/stable/concepts-certificates/
# filter expressions docs: https://docs.mitmproxy.org/stable/concepts-filters/ # filter expressions docs: https://docs.mitmproxy.org/stable/concepts-filters/
import logging import logging

View File

@ -46,7 +46,7 @@ class Benchmark:
"benchmark_save_path", "benchmark_save_path",
str, str,
"/tmp/profile", "/tmp/profile",
"Destination for the .prof and and .bench result files", "Destination for the .prof and .bench result files",
) )
ctx.options.update( ctx.options.update(
mode="reverse:http://devd.io:10001", mode="reverse:http://devd.io:10001",