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

add option to send host header in HTTP proxy CONNECT command #7710

Open
wants to merge 1 commit into
base: RC_2_0
Choose a base branch
from

Conversation

arvidn
Copy link
Owner

@arvidn arvidn commented Jul 20, 2024

No description provided.

@xavier2k6

This comment was marked as outdated.

@bearx3f
Copy link

bearx3f commented Jul 30, 2024

I've tested qBittorrent 4.6.5 with my patch (forcing send_host_in_connect to 1) but unfortunately, the issue persists.

After careful investigation, I noticed that src/http_connection.cpp#590 seems never to be executed. Additionally, the condition in include/libtorrent/http_stream.hpp#132 appears to always evaluate to false.

I believe understanding why these code sections are not being reached might be crucial in resolving the underlying issue.

@arvidn arvidn force-pushed the send-host-in-connect-option branch from 13d0471 to 3b94578 Compare August 2, 2024 23:03
@arvidn
Copy link
Owner Author

arvidn commented Oct 20, 2024

@bearx3f are you connecting to your proxy over SSL by chance? It looks like my patch failed to take into account HTTPS proxies.

@arvidn arvidn force-pushed the send-host-in-connect-option branch from 3b94578 to 8adc21c Compare October 20, 2024 23:46
@bearx3f
Copy link

bearx3f commented Oct 21, 2024

No my proxy server only handles HTTP

@arvidn arvidn force-pushed the send-host-in-connect-option branch from 8adc21c to 9acb255 Compare October 21, 2024 09:16
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.

3 participants