Skip to content

fix fail https requests without connect#620

Open
vsnunes wants to merge 1 commit into
tinyproxy:masterfrom
vsnunes:fix-https-without-connect
Open

fix fail https requests without connect#620
vsnunes wants to merge 1 commit into
tinyproxy:masterfrom
vsnunes:fix-https-without-connect

Conversation

@vsnunes

@vsnunes vsnunes commented Jun 28, 2026

Copy link
Copy Markdown

tinyproxy should reject direct proxy requests to HTTPS servers (e.g. GET https://example.com) as clients are expected to use CONNECT instead.

The issue was reported initially in #284

Comment thread src/transparent-proxy.c

if (strncmp(*url, "https://", 7) == 0) {
log_message (LOG_ERR,
"process_request: cannot HTTPS for %d",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"cannot HTTPS" sounds a bit odd.

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.

2 participants