Граф коммитов

812 Коммитов

Автор SHA1 Сообщение Дата
Nick Banks 86edb13ef8
Fix Connection FC Handling on Stream Abort (#2066) 2021-10-08 11:54:16 -04:00
Thad House a0bed40356
Revert "Grab a UDP Port Reservation (#2017)" (#2065)
This reverts commit 8d14aba1da.
2021-10-07 12:18:29 -07:00
Nick Banks 5fae939ad3
Fix CLOG sidecar (#2053) 2021-10-06 15:31:03 -04:00
Thad House 6e15a09150
Fix clog sidecar printing out port in reverse order (#2051) 2021-10-06 13:04:29 -04:00
Nick Banks 24cd2257d5
Fix Flow Control Assert (#2050) 2021-10-06 10:57:48 -04:00
Nick Banks 7dea908d6a
Correctly Handle FIN after Stream Reset (#2049) 2021-10-05 18:41:08 -04:00
Nick Banks 8d14aba1da
Grab a UDP Port Reservation (#2017)
Co-authored-by: Thad House <thhous@microsoft.com>
2021-10-05 09:03:55 -04:00
Thad House a6a9f0fe6d
Add error code and docs for invalid address error (#2032)
Co-authored-by: Nick Banks <nibanks@microsoft.com>
2021-09-28 10:00:05 -04:00
Thad House 696f9c72ed
Don't wrap all headers in extern C (#2027)
Newer versions of lltng have templates, which don't properly work if extern C has been used around lttng headers. The fix to this is to not have a global extern C, but instead have it in individual headers
2021-09-23 12:33:38 -07:00
Thad House b74029e7cf
Fix cmake static builds on ninja (#2022)
* WIP Fix cmake static builds on ninja

* Fix static link

* Fix linux linking

* Fix windows static linking

* Fix logging

* Fix static deps
2021-09-23 11:39:38 -07:00
Nick Banks 00f521cc52
Windows File Attribute Fixes (#2021) 2021-09-22 13:17:56 -04:00
Anthony Rossi 4429da0673
Correct client certificate validation policy on Windows and macOS. (#1966) 2021-09-21 13:42:07 -04:00
Nick Banks d5b3b52c44
Add C++ CxPlat Improvements (#2009) 2021-09-20 14:39:27 -04:00
Thad House cc1d8990ae
Fix cgroups debug asserting on certain platforms (#2004)
On some platforms, cgroups don't exist at all, which cause a debug assertion. Remove all debug asserts in the cgroup code, as theyre not actually helpful, and the code handles the asserts missing correctly
2021-09-20 10:39:12 -07:00
Thad House ff9b4c3b90
Add UWP nuget package (#2002)
* Add UWP nuget package

* Switch to winsock2.h rather than ws2def.h

* Build arm64

* Copy UWP artifacts to appx
2021-09-20 10:38:51 -07:00
Thad House 0ec9853b23
Clean up cmake include checks, allow missing atomic on linux (#2003)
The include checks we were doing could be done a lot cleaner. Additionally, some older platforms don't have libatomic, but don't need it either, so make that check optional
2021-09-20 10:38:17 -07:00
Thad House eb7bf8a370
Fix gamecore on older windows sdk, require a minimum gdk, remove scarlett (#2005) 2021-09-20 10:37:59 -07:00
Moody Wizmann 4741619c87
Refactor for Ack/Loss events passing to CC (#2006) 2021-09-19 13:07:49 -04:00
Nick Banks dce8f1b970
Connection Event Documentation (#1996) 2021-09-17 08:26:52 -04:00
Jason A. Donenfeld 440d6f2874
Bypass TDI to make IP_PKTINFO work properly (#1999)
TDI/TDX only examines the cmsghdr of TDI IRPs from the
Options/OptionsLength fields if UserBuffer==(PVOID)8937731. This was
never documented and will probably never change, which in turn means
that TDI drivers that filter and reinject packets will strip the cmsghdr
unknowingly. TDI is a dead technology anyway, and bypassing it shouldn't
interfere with reasonable systems.

This mirrors https://git.zx2c4.com/wireguard-nt/commit/?id=c331ee4f18e98b7063dc74e3d8b0ab556cff3a96
2021-09-16 18:40:22 -04:00
Nick Banks 640047919f
Poll with Retry in Datagram Test (#1995) 2021-09-16 12:04:39 -04:00
Thad House 6b884f82ff
Cancel all sends upon silent abort (#1850)
* Check that path for datagram or packet does not contain retired cid

* Fix check

* Another try

* Fix release build

* Pass crash info to quic_bugcheck

* Don't optimized

* Fix clang

* Don't optimize loss detection function

* Assert not retired

* Fix build

* Check path reassignment

* Don't use new

* Try some more things

* Another try

* Add spinquic logging

* Disable UDP port sharing in spin

* Disable local port sharing

* Revert udp sharing

* Add a few more asserts

* Fix build

* Try always silently aboring on cid allocation failure on retire

* Clear flings on silent close

* Cleanup

Co-authored-by: Nick Banks <nibanks@microsoft.com>
2021-09-16 08:43:52 -07:00
Nick Banks 0ecdb81ef6
Add Path Change Perf Counters (#1990) 2021-09-15 14:19:39 -04:00
Thad House e2ef1c733c
Fix some small spacing nits (#1988) 2021-09-15 13:12:55 -04:00
Nick Banks 8180438274
Some Congestion Control Cleanup (#1989)
* Some Congestion Control Cleanup

* Remove extra space

* Fix clog
2021-09-15 12:10:45 -04:00
Nick Banks f5f9990d8f
More Time for macOS (#1992) 2021-09-15 12:07:40 -04:00
Nick Banks deff1e8d69
Increase Test Delay to Account for Delayed ACKs (#1987) 2021-09-14 16:07:15 -04:00
Thad House 76ea1447eb
Fix datapath retry count not incrementing (#1986)
* Fix datapath retry count not incrementing

* Assert if retry failure is for any reason other than OOM
2021-09-14 14:12:26 -04:00
Nick Banks 82147a6eb4
Increase Handshake Timeouts in Tests (#1985) 2021-09-14 13:08:20 -04:00
Nick Banks 750bccd16b
Update Stream Event Tests to Wait for Handshake Complete (#1983) 2021-09-14 13:08:09 -04:00
Nick Banks 0a91425307
Update to v1.9 (#1979) 2021-09-13 19:24:10 -04:00
Thad House 343a480f66
Link gamecore binaries to correct runtime libs (#1973)
* Link gamecore binaries to correct runtime libs

* Fix linking

* Shim missing functions

* Get uwp working again

* Rename gamecore to gamecore-durango

* Only shim quicaddrtostring in gamecore.

* Fix all builds

* Properly lookup gxdk

* Fix public builds

* Fix define comment

* Fix uwp builds

* One more uwp

* 1 more uwp fix
2021-09-13 12:57:45 -07:00
Nick Banks 2b9e617bf4
Don't Reset BytesInFlight on Path Change (#1976) 2021-09-10 19:28:12 -04:00
Nick Banks ceae053b00
Fixes/improvements for ConnectExpiredServerCertificate (#1974) 2021-09-10 17:57:46 -04:00
Thad House 1f6db86c7a
Use correct physical memory limits on posix platforms, with cgroups to handle containers (#1968)
* Add support for cgroup restricted memory checks

* Fix build

* Fix macos

* Fix release build

* Fix release macos

* 1 more release mode fix

* Fix weirdness

* Fix clog

* Fix formatting

* remove unnecessary headers

* Fix codecheck

* Fix codecheck bad functions

* Fix sign comparison

* Fix codecheck

* Remove printf

* Another attempt at codecheck
2021-09-10 14:25:51 -07:00
Nick Banks 228ab5a934
Fix Test Failures in SendResumption Tests (#1970) 2021-09-10 15:04:28 -04:00
Thad House 70ac73cda6
Update user mode 64 bit pgo (#1965) 2021-09-07 19:49:12 -04:00
Thad House 4313b61ac0
Switch lowercase usages of true in c to TRUE (#1964) 2021-09-07 16:47:58 -07:00
Anthony Rossi d340ff7c74
Add client certificate support to OpenSSL (#1930) 2021-09-07 13:47:45 -07:00
Moody Wizmann d2a2570fd3
Refactor for pluggable congestion control algorithtm (#1949) 2021-09-07 13:16:05 -04:00
Nick Banks 76697e47ed
Fix NULL Pointer Read in Stateless Retry Scenario (on Server) (#1951) 2021-08-30 16:24:38 -04:00
Doug Gallatin ce68679ef3
Add GameCore build platform to MSQUIC (#1947) 2021-08-27 20:02:19 -04:00
Tomas Weinfurt abef1e6d5f
fix compilatin issue on macOS 10.15 (#1941) 2021-08-26 13:01:18 -04:00
Moody Wizmann a0f13de259
Change congestion control api to use "TimeNow" in microsecond (#1932) 2021-08-21 08:24:12 -04:00
Thad House efb0bf04c7
Enable building macOS and iOS framework bundles (#1927)
* Add support for building a macOS or iOS framework bundle

* Rename script

* Package frameworks on azure

* Update framework version

* Fix upload path

* Add support for xcframework as well

* Another macos fix

* Fix weird mistakes

* Increase minimum target to 10.15

* Fix macos build

* Fix review comments

Co-authored-by: Thad House <thadhouse1@gmail.com>
2021-08-19 12:22:19 -07:00
Thad House a42968e228
Fix quicip not waiting for connection shutdown before deleting context (#1926)
* Fix quicip not waiting for connection shutdown before deleting context

* Fix settings

* Move close back to thread

* Remove timeout
2021-08-19 12:20:06 -07:00
Thad House 0fde96eddf
Don't allow stateless operations on a binding until fully initialized (#1928)
* Don't allow stateless operations on a binding until fully initialized

* Use interlocked operation to commit initialized to memory

* Fix argument

* Use the ref count
2021-08-19 12:19:35 -07:00
Thad House 8fff583927
Use os certificate validation on macOS and iOS (#1925)
* Use os certificate validation on macOS and iOS

* Revert sample changes

* Fix build

* Fix api test

* Fix revocation leak

* Fix null SNI case

* Fix clog

Co-authored-by: Thad House <thadhouse1@gmail.com>
2021-08-18 16:53:55 -07:00
Nick Banks 242b085e43
Refactor Worker Loop (#1924) 2021-08-18 12:43:32 -04:00
Thad House 7dd212c8ae
Add proper CI versioning to nuget (#1921)
Right now we don't have a way to trigger a release, that is a next step we need to work through
2021-08-17 09:24:05 -07:00