-
-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.3 Release #40
Merged
Merged
v0.3 Release #40
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using multiprocessing module on Windows leads to unexpected errors due to pickling. Reference Python bug here https://bugs.python.org/issue11119 which is now marked as fixed, but problem still persists as reported by users.
Also replace double quote usage with single quotes per specs.
1. can't concat str to bytes 2. ResourceWarning: unclosed
Also added BAD_GATEWAY_RESPONSE_PKT constant
Also refactor proxy exception handling code.
1. Add explicit state matching in HttpParser class 2. Highlight bug in HttpParser when content-length is missing 3. Add more test cases
Now --server-recvbuf-size and --client-recvbuf-size flags can be used for customizing maximum recv buffer sizes. Bumping these values will result in higher RAM consumption during download / upload operations but will provide better download / upload speeds / throughputs and lower CPU utilization. Fixes #22
For long running proxies this is critical as keep-alive connections can quickly help exceed default value (256) on operating systems.
Python resource module is unavailable on Windows OS.
Also accept explicit HttpParser type.
Inspired from work done by @sakurai-youhei in sakurai-youhei@a2a25e0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release Notes
Bug Fixes
New