Sinan Kaya
590c28949f
Merge pull request #6 from microsoft/users/GitHubPolicyService/0ab6af4e-23d4-4281-9e7c-fea340f0ecad
...
Adding Microsoft SECURITY.MD
2022-07-25 16:41:58 -04:00
microsoft-github-policy-service[bot]
302f02327c
Microsoft mandatory file
2022-07-25 20:34:03 +00:00
Sinan Kaya
22c649a527
Merge pull request #5 from Aleksandr-Melnikov/patch-1
...
Fix Continue response handling
2021-11-24 09:23:32 -05:00
Aleksandr-Melnikov
ab79dcec49
Fix Continue response handling
...
If server returned "HTTP/1.1 100 Continue", then headers string
was not cleared.
So when, after that, another response "HTTP/1.1 200 OK" came,
we were processing headers when other thread was adding them.
And we got into race condition state when sometimes we were
able to get all headers, and sometimes we were not.
Server response example:
```
HTTP/1.1 100 Continue
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 5434
Content-Type: application/json; charset=utf-8
Date: Tue, 23 Nov 2021 11:56:45 GMT
```
Also potential problem with HTTP status string parsing was fixed.
We were using regex "^HTTP.*[0-9]{3}" for the string that includes
headers. So basically any 3 numbers in headers could be considered
as HTTP response
For example here we returned 434
```
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 5434
```
2021-11-24 14:19:58 +00:00
Sinan Kaya
bdeafae02f
Merge pull request #4 from yinsidij/master
...
support HTTP put operation
2021-05-12 20:30:32 -04:00
Yinsidi
c8f1191143
support HTTP put operation
2021-05-12 17:25:43 -07:00
Sinan Kaya
d45f86ec0f
Merge pull request #3 from franksinankaya/frkaya/shutdown
...
Don't remove singletons during shutdown
2020-11-06 10:04:39 -05:00
Sinan Kaya
d0687abe3e
Don't remove singletons during shutdown
...
Signed-off-by: Sinan Kaya <sinan.kaya@microsoft.com>
2020-11-06 10:03:29 -05:00
Sinan Kaya
bedec757a5
Merge pull request #2 from franksinankaya/frkaya/timeouts
...
Add connection timeout option
2020-07-27 20:24:06 -04:00
Sinan Kaya
04844a7053
Add connection timeout option
2020-07-27 20:16:42 -04:00
Fikret Can
28c503b6fb
Trace verbose: print header received. Fix a mutex mismatch
2020-01-21 11:12:48 -05:00
Fikret Can
676df62499
Bugfix: parse the Http status codes correctly in multi message response - spacing
2020-01-07 00:14:07 -05:00
Sinan Kaya
bae15239e3
Match status code from incoming header
2019-09-09 19:41:18 -04:00
Sinan Kaya
d83180b8ab
No callbacks for sync calls
2019-09-05 15:35:45 -07:00
Sinan Kaya
449d502bba
Set winhttp schemes as bitmake
2019-09-03 01:43:38 +00:00
Sinan Kaya
0cd383f113
Stub out WinHttpGetDefaultProxyConfiguration and WinHttpGetIEProxyConfigForCurrentUser
2019-09-03 00:46:03 +00:00
Sinan Kaya
e2f4518d40
implement stub WinHttpGetProxyForUrl and WINHTTP_ENABLE_SSL_REVOCATION
2019-09-03 00:38:07 +00:00
Sinan Kaya
1da2793d1d
Generate PIC library
2019-09-02 15:56:24 -04:00
Sinan Kaya
87f2d8793c
Create cmake target
2019-09-02 15:45:58 -04:00
Sinan Kaya
3f44bbc98e
Generate install target and fix file header
2019-09-02 14:35:48 -04:00
Sinan Kaya
71a2ebd9ea
Flush outstanding reads and move class definitions out to its own header file
2019-08-28 16:36:41 -04:00
Sinan Kaya
ac0680005d
Support proxies and allow buffer size override
2019-08-18 15:01:38 -04:00
Sinan Kaya
ef5fec0f70
Stability and bugfix updates
2019-08-18 14:30:37 -04:00
Sinan Kaya
a7e2319fd5
Convert tabs to 4 character spaces
2019-07-15 19:22:53 -04:00
Sinan Kaya
e8f49c6085
Initial import
2019-07-15 19:19:01 -04:00
Microsoft Open Source
087e3ef979
Initial commit
2019-07-15 15:14:24 -07:00
Microsoft Open Source
8a4b16c3fc
Initial commit
2019-07-15 15:14:23 -07:00
Microsoft Open Source
5782365a87
Initial commit
2019-07-15 15:14:22 -07:00
Microsoft GitHub User
4a3ebdd979
Initial commit
2019-07-15 15:14:20 -07:00