Commit Graph

615 Commits

Author SHA1 Message Date
Anton Kolesnyk
5304a0857d
PR follow-ups (#4201)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
2023-01-03 12:08:00 -08:00
Anton Kolesnyk
152a847dcc
noexcept adjustments (#4200)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:17:16 -08:00
Anton Kolesnyk
fd3b9a6180
More accurate argument type for the ExtendableEnumeration == and != (#4199)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:17:09 -08:00
Anton Kolesnyk
3e4a41bd4a
Remove noexcept specification from Azure::DateTime::clock::now() (#4198)
* Remove noexcept specification from Azure::DateTime::clock::now()

* Undo unnecessary change (my local clang-format is broken)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:17:02 -08:00
Anton Kolesnyk
a70be339e7
Audit string comparisons (#4197)
* Audit string comparisons

* Mac fix

* !isxdigit()

* Rewrite condition + comment

* <3

* Clang-format

* 255

* Allow uppercase

* stoi() radix

* ShouldEncode()

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2023-01-03 11:16:54 -08:00
Anton Kolesnyk
97235cb46b
Add support for space character instead of 'T' when parsing RFC3339 DateTimes (#4184)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-12 13:16:11 -08:00
Anton Kolesnyk
c14775d5fb
Better TokenRequestContext initialization (#4169)
* Better TokenRequestContext initialization

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-07 20:25:22 -08:00
Anton Kolesnyk
405ae8cba7
Only allow BearerTokenAuthPolicy for HTTPS (#4170)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-07 20:03:17 -08:00
Larry Osterman
5737bfeb6a
Fixed #4137 - Don't close CURL connection on shutdown (#4142)
* Fixed #4137 - Don't close connection on shutdown

* clang-format
2022-12-05 13:32:50 -08:00
Anton Kolesnyk
09db139a71
AzureCliCredential (#4146)
* AzureCliCredential

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-12-05 13:15:19 -08:00
Ahson Khan
928c9cf6eb
Disable warning C6387 coming from wil in win_http_transport due to SAL annotation (#4132)
* Disable warning C6387 coming from wil in win_http_transport

* Disable warning C6387 coming from wil in win_http_transport header

* Clang format fix for header file

* Clang format fix for source file
2022-11-28 12:20:00 -08:00
Billy O'Neal
8934b2118f
This was first discovered by trying to update curl in vcpkg: https://github.com/microsoft/vcpkg/pull/27778 (#4127)
Curl is no longer publishing that it depends on ws2_32 when dynamically linked. Azure Core directly uses Ws2_32 things, so it needs that declared dependency. For example:

90fc46693f/sdk/core/azure-core/src/http/curl/curl.cpp (L165)
2022-11-18 16:11:55 -08:00
Azure SDK Bot
40afee9c16
Increment package version after release of azure-core (#4090) 2022-11-07 14:39:19 -08:00
Anton Kolesnyk
48e6fcf115
Core November release (#4082)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-11-03 15:31:01 -07:00
George Arama
1da78ce13e
Gtest timeout fix (#4078)
* PT1

* typo

* timeout

* gtest_1.12.1

* cspell isnore cmakelistst , it seem to freeze when checking these files

* timeout for cmake generate

* timeout for cmake generate p2

* timeout for cmake generate p3

* timeout for cmake generate p4

* timeout for cmake generate p5

* PR

* node 18

* nppm

* npm

* bug in cspell, freezed on txt files

* AntonComment extra space

* cspell
2022-11-02 15:46:38 -07:00
Larry Osterman
bb95a22e3f
Added the ability to select OpenSSL 1.1.1n if desired. (#4045)
* Added ability to switch to OpenSSL 1.1.1n

* Fixed OpenSSL compilation challenges - the CRL stuff works now

* Added instructions on using OpenSSL 1.1.1 to README

* Added vcpkg args to handle openssl variants
2022-10-28 15:57:51 -07:00
George Arama
673bacba08
identicalize the comments type (#4063) 2022-10-26 10:16:32 -07:00
Anton Kolesnyk
4de2423934
In-memory Identity token cache (#4024) 2022-10-25 20:23:22 +00:00
Rick Winter
34485a7ab7
Fix to for a SAL annotation (#4054) 2022-10-25 18:37:25 +00:00
Larry Osterman
6c225cd6c9
Converted WinHTTP to Async. (#4015)
* Async WinHTTP

* Added cancellation test; added support for request cancellation.

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Rick Winter <rick.winter@microsoft.com>
2022-10-24 11:43:42 -07:00
Larry Osterman
01254a62cd
Fixed CURL build breaks discovered by newer openssl baselines (#4034) 2022-10-17 23:25:31 +00:00
Azure SDK Bot
f5f235174d
Increment package version after release of azure-core (#4000) 2022-10-06 18:48:34 +00:00
Anton Kolesnyk
64292fee49
Azure Core October Release (#3996)
* Azure Core October Release

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
Co-authored-by: Larry Osterman <LarryOsterman@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahkha@microsoft.com>
2022-10-06 10:26:38 -07:00
Ahson Khan
0a888c6674
Fixup comment in unique_handle.hpp to reference curl_easy_cleanup rather than curl_free. (#3997) 2022-10-05 13:19:41 -07:00
Larry Osterman
895a1f9f2c
Fixed memory leak in curl (#3995)
* Fixed memory leak in curl

* fixed documentation in unique_handle.hpp
2022-10-05 02:50:42 +00:00
Larry Osterman
53c9da1552
Pull all Websockets changes to main except for WebSockets itself. (#3954)
* Pulled WebSocket fixes into main except for WebSockets functionality


Co-authored-by: Rick Winter <rick.winter@microsoft.com>
Co-authored-by: Daniel Jurek <djurek@microsoft.com>
Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com>
Co-authored-by: Ahson Khan <ahson_ahmedk@yahoo.com>
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-10-04 14:58:56 -07:00
JinmingHu
eb9c35d266
Revert "Add Win32FileTimeConverter (#3941)" (#3966)
This reverts commit 14e4f52b91.
2022-09-29 09:42:23 +08:00
JinmingHu
14e4f52b91
Add Win32FileTimeConverter (#3941) 2022-09-21 09:31:34 +08:00
Jamie Magee
deb847e59f
Add $schema to cgmanifest.json (#3918)
Co-authored-by: Jamie Magee <jamie.magee@microsoft.com>
2022-09-13 08:50:38 -07:00
Azure SDK Bot
81b733689b
Increment package version after release of azure-core (#3919) 2022-09-01 11:40:51 -07:00
Anton Kolesnyk
825d2dd136
Core September Release (#3913)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-09-01 10:30:24 -07:00
keshen-msft
e019b3ea7e
Fix an issue that reason phrase is missing as expected from HTTP/2 server (#3879)
* Fix an issue that reason phrase is missing as expected from HTTP/2 server

* reverse the condition

* compact comments

* fix clang format
2022-08-10 12:59:47 -07:00
Azure SDK Bot
5a8d62358a
Increment version for core releases (#3865)
* Increment package version after release of azure-core

* Increment package version after release of azure-core-tracing-opentelemetry
2022-08-04 19:23:08 +00:00
Anton Kolesnyk
755d717df7
Core August releases (#3862)
* Core August releases

* cspell

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-08-04 11:00:06 -07:00
John Heffner
86b3305b09
Retry poll calls on EINTR (#3858)
When signals are delievered to the process, calls here to poll may be
interrupted and return with a spurious failure.  The call instead should be
restarted.
2022-08-01 09:11:43 -07:00
Rick Winter
1dab2c16de
Update CHANGELOG.md 2022-07-28 12:10:23 -07:00
George Arama
992a3a9409
Helm charts (#3841)
* helm chart

* first pipe setup

* poi

* magiks

* ewewe

* stress

* cleanup

* pr

* QFE and readme

* clang

* stupid clang , waste of time

* ewqwewewrqrewewrqewrqwrqr

* stupid clang

* cspell

* PR

* try try again

* clang again
2022-07-25 11:25:05 -07:00
George Arama
7bf67350a2
Remove winhttp (#3832)
* remove refs to winhttp

* this tsst only curl
2022-07-15 13:47:01 -07:00
George Arama
e0706ba1fb
Stress test (#3820)
* mem leak fix

* PR comments fix

* PR comments

* seems to work?

* clang

* curl again

* add first stress test

* also update gitignore

* missing line

* only linux

* clang typo format

* typo 2

* PR comments

* cspell

* remove terminator
2022-07-13 13:11:50 -07:00
George Arama
46eaa38dde
mem leak fix (#3794)
* mem leak fix

* PR comments fix

* PR comments

* seems to work?

* clang

* curl again
2022-07-08 14:04:55 -07:00
Azure SDK Bot
55a2f3b440
Increment package version after release of azure-core (#3789) 2022-07-01 00:26:13 +00:00
Anton Kolesnyk
498d930868
Update version for Core release (#3788)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-06-30 23:21:38 +00:00
Anton Kolesnyk
fa295fd9d6
Azure Core Services July Release (#3785)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-06-30 14:57:17 -07:00
Larry Osterman
38b07749dc
Removed internal types from OpenTelemetry API surface; removed default parameters from OpenTelemetry API surface. (#3762)
* Removed internal references from public headers


* Updated changelog files

* Updated DistributedTracing.md to reflect Factory construction of Azure::Core::Tracing::OpenTelemetry::OpenTelemetryProvider type

Co-authored-by: Ahson Khan <ahkha@microsoft.com>
Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
2022-06-29 21:39:56 -07:00
Ahson Khan
de6ed1da38
Add missing license header to http_sanitizer source file (#3739) 2022-06-16 19:59:07 +00:00
Anton Kolesnyk
dfe9a2be1f
InputSanitizer: rename to HttpSanitizer, remove static member (#3736)
* InputSanitizer => HttpSanitizer, remove static

* Update cpp

* Clang format

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-06-15 11:18:23 -07:00
Anton Kolesnyk
b36403a018
Include pi-version to default list of unredacted query params for logging (#3730)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-06-10 17:17:37 -07:00
Larry Osterman
99f45a5f18
Enable Distributed Tracing for Attestation SDK client. (#3706)
* Implement tracing for Attestation and Template services

* Pipeline no longer requires service name if opting into distributed tracing; enable tracing in attestation service

* Generate user-agent header from request activity policy

* Added test to catch the redacted header regression

* Updated documentation to reflect API surface changes
2022-06-08 11:40:56 -07:00
Larry Osterman
8ec7a9958a
Removed version>= fields for openssl in vcpkg.json files (#3705) 2022-06-03 16:43:08 -07:00
Anton Kolesnyk
ad2591b58d
Format vcpkg.json (#3701)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2022-06-03 08:43:03 -07:00