Skip to content
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 25 commits into from
Feb 9, 2019
Merged

v0.3 Release #40

merged 25 commits into from
Feb 9, 2019

Conversation

abhinavsingh
Copy link
Owner

Release Notes

Bug Fixes

New

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.
Preserve size in chunk buffer until CRLF is received avoiding error in
cases when received data contains size without a following CRLF.
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.
@abhinavsingh abhinavsingh merged commit 3b59ade into master Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant