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

[ChunkParser] does not handle additional headers fields after the message body. #44

Open
briantting opened this issue Feb 23, 2019 · 4 comments
Assignees
Labels
Awaiting Response Waiting for more information / response from issue creator

Comments

@briantting
Copy link

briantting commented Feb 23, 2019

It gets caught in a loop when processing chunked requests where there are additional headers fields after the message body. Occurs because:

  1. The self.size in ChunkParser.process is 0
  2. Thus the self.state is set to COMPLETE, but the len(data) > 0
@abhinavsingh abhinavsingh added the Bug Bug report in proxy server label Feb 23, 2019
@abhinavsingh
Copy link
Owner

Thanks, @briantting for reporting this and #45 . I am wondering what exactly is your use case that runs into these issues. Can you expand a little on that?

@briantting
Copy link
Author

briantting commented Feb 25, 2019 via email

@abhinavsingh
Copy link
Owner

Thanks, @briantting, good to hear that. I observed issues you reported are encountered when packets are sent to proxy.py in a specific way, most likely if proxy.py is used in an automation environment.

@abhinavsingh abhinavsingh self-assigned this Apr 19, 2019
@abhinavsingh
Copy link
Owner

@briantting Is it possible for you to give it another shot and/or provide raw requests being sent to proxy.py. Thank you.

@abhinavsingh abhinavsingh added the Awaiting Response Waiting for more information / response from issue creator label Sep 25, 2019
@abhinavsingh abhinavsingh removed their assignment Nov 8, 2019
@abhinavsingh abhinavsingh changed the title Chunk parser does not handle additional headers fields after the message body. [ChunkParser] does not handle additional headers fields after the message body. Nov 5, 2021
@abhinavsingh abhinavsingh removed the Awaiting Response Waiting for more information / response from issue creator label Nov 8, 2021
@abhinavsingh abhinavsingh self-assigned this Nov 10, 2021
@abhinavsingh abhinavsingh removed their assignment Dec 27, 2021
@abhinavsingh abhinavsingh added Awaiting Response Waiting for more information / response from issue creator and removed Bug Bug report in proxy server labels Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Response Waiting for more information / response from issue creator
Projects
None yet
Development

No branches or pull requests

2 participants