-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Chunked request body crash with HTTPS proxy #1571
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
Comments
It was working when used with ahc 1.9.32 (ning) in the same set up. |
It's impossible to figure out your use case based on the information and the code you provided. |
That was my bad, I would have provided more information.
Please let me know if more information is needed. |
It looks like this exception is seen when POST request is executed, via an upstream proxy. NettyBodyBody.write() creates BodyChunkedInput which is not expected at SSLHandler.write(), as it looks for only ByteBuf. Is there more information required from me ? to be able to address this issue. Or Am I doing something wrong ? let me know if I need to follow some guidelines to be able to use HTTPS PROXY. thanks. |
To be able to reproduce this precisely, I modified the following test case of AsyncHttpClient a bit, it produces the exception mentioned. It appears to be that unless the POST body is NettyDirectBody it will fail in all other cases as well.
Here is the exception
|
Thanks for the unit test, it helped! |
When is release 2.5.3 expected ? |
Could you please add it to mile stone 2.5.3 ? |
done today |
AsyncHttpClient : 2.5.2
Netty : 4.1.28.Final
Upstream proxy : Burp 1.7.36
Above is my code snipped, and I get the below error when execute the request with AsycHttpClient:
I am not sure if I am missing something. Please let me know if any more information is required further.
thanks,
The text was updated successfully, but these errors were encountered: