Azure / Azure/azure-sdk-for-cpp

Missing Timeout Configuration and SSL Connection Issue with MITM Proxy in WinHttpTransport and CurlTransport

Open
#6,380 0 comments 0 reactions 0 assignees View on GitHub
Azure.Core customer-reported needs-team-attention
Dominant language
C++
Stars
205
Forks
172
Avg merge
1d 15m
Merged PRs (30d)
33

Description

## Issue Summary
No Callback Method for Timeout Settings
Neither WinHttpTransport nor CurlTransport have a callback method that allows us to set up additional settings.

## Timeout Support in WinHttpTransportOptions & CurlTransportOptions
WinHttpTransportOptions does not support either connection or data timeouts, while CurlTransportOptions at least supports a connection timeout, though it does not offer a way to configure a data timeout.

## SSL Connection Error with MITM Proxy
We are experiencing an issue with CurlTransport when using HTTP/HTTPS proxy through a Man-in-the-Middle (MITM) proxy for testing. The connection consistently fails with an "SSL connection error."

## Request for Assistance
We would appreciate assistance with understanding whether we are missing any configuration or if there's a recommended workaround for these issues. Is there a way to handle timeouts more effectively, and how can we resolve the SSL connection error when using a MITM proxy, through the CurlTransport class? Any guidance or suggestions would be greatly appreciated!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.