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

1331 Коммитов

Автор SHA1 Сообщение Дата
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
Thad House 0f4f8fe8f3
Update Nupkg attributes for compliance requirements (#1915)
* Update Nupkg attributes for compliance requirements

* Fix package icon
2021-08-13 14:36:52 -07:00
Thad House 737981c8a1
Fix distribution packaging not working in onebranch (#1916)
* Debug why packaging is not working on onebranch

* Fix package
2021-08-13 13:42:09 -07:00
Thad House 8f49275930
Bump version to 1.8 (#1914) 2021-08-13 12:21:44 -07:00
Thad House 1fccd8e51c
Release 1.7 Docs (#1913) 2021-08-13 09:48:52 -07:00
Thad House 0e6a13ec0c
Add Nuget publishing to onebranch (#1909)
* Build nuget packages in onebranch

* Actually build nuget package

* Fix pool type

* Fix nuget pwsh

* Add official publishing
2021-08-11 20:17:12 -07:00
Thad House 2b5feb396f
Fix library version only being set on library unload (#1905) 2021-08-11 14:46:27 -07:00
Thad House 1b17a55c34
Add support for building for iOS (#1904)
* Add support for building for iOS

* Add iOS azure template

Co-authored-by: Thad House <thadhouse1@gmail.com>
2021-08-11 12:38:56 -07:00
Thad House 289a595e9c
Add task to CI to check for changes in the generated CLOG files (#1903)
* Add task to CI to check for changes in the generated CLOG files

* Fix check task

* Fix sidecar changes
2021-08-11 11:45:43 -07:00
Thad House d9bf2d0495
Add shim for sendmmsg when sendmmsg does not exist (#1896)
* Add shim for sendmmsg when sendmmsg does not exist

Some users have asked to build with glibc versions that do not have sendmmsg. This change checks for the existance of sendmmsg, and if its missing implements a shim version that has identical functionality

* Fix shim signature

* 1 more fix
2021-08-11 10:37:19 -07:00
Melvin Groenhoff 115969aa17
Allow building in directories containing spaces (#1899) 2021-08-11 12:37:34 -04:00
Thad House 4539b552ea
Enable static builds for macOS and Linux (#1900)
* Add support for static builds on macOS

* Get linux static libs working as well

* Remove linux static link check

* Fix darwin merge

* 1 more merge fix

* 1 more fix

* Also build arm64 static

* New line at end of file

Co-authored-by: Thad House <thadhouse1@gmail.com>
2021-08-10 23:19:33 -07:00
Thad House c19201079a
Consolidate OpenSSL build into a single CMakeLists file (#1898)
* Revert "Revert OpenSSL changes  (#1892)"

This reverts commit 97f1fd874b.

* Revert "Fix QNS builds (#1891)"

This reverts commit 8569b6cd24.

* Build QNS image in PR CI

* Another attempt to fix qns

* Another try

* More debugging

* Some more printing

* Fixup docker ignore

* revert yml
2021-08-10 13:33:11 -07:00
Thad House 8e1c30c6c6
Increase epoll batch size if segmentation is not available at build time (#1897)
This way not all performance will be lost without segmentation support
2021-08-10 12:58:07 -07:00
Thad House e7f66d0eb7
Improve logging docs (#1893)
* Add note to documentation about passing alternate manifest to netsh

* Add docs for clog2txt_lttng
2021-08-10 11:05:57 -07:00
Thad House 97f1fd874b
Revert OpenSSL changes (#1892)
* Revert "Fix QNS builds (#1891)"

This reverts commit 8569b6cd24.

* Revert "Consolidate OpenSSL build into a single CMakeLists file (#1885)"

This reverts commit c16d492a9b.
2021-08-09 15:29:05 -07:00
Thad House 8569b6cd24
Fix QNS builds (#1891)
ALIAS targets only work in 3.18. Instead of bumping the requirement, remove the ALIAS target from OpenSSL
2021-08-09 13:50:56 -07:00
Thad House 41736a543b
Fix clog ALPN decoder throwing exception (#1890)
* Fix clog ALPN decoder throwing exception

The DecoderFallback property is read only for UTF8Encoding. Because of how CLOG is written, this will just cause that specific line to be skipped.

* Fix sidecar too
2021-08-09 12:23:23 -07:00
Thad House c16d492a9b
Consolidate OpenSSL build into a single CMakeLists file (#1885)
* Consolidate OpenSSL build into a single CMakeLists file

* Fix codeql

* Fix double build, fix some docs, fixup cached variables

* Whitespace

* Remove test variable
2021-08-09 11:51:12 -07:00
Thad House 9069d24fa0
Fix official onebranch builds failing distribution stage (#1889)
An extra file path is included in the official builds because of signing, which breaks the existing scripts
2021-08-09 11:22:08 -07:00
Thad House a619dd2220
Merged PR 16282: Stop Sending When We Run Out of Room (#1886)
Stop Sending When We Run Out of Room

Co-authored-by: Nick Banks <nibanks@microsoft.com>
Co-authored-by: QUIC Dev Bot <quicdev@microsoft.com>
2021-08-09 10:46:52 -07:00
Thad House 68482a1561
Create nuget packages for distribution (#1881)
* Package openssl files into a nuget for distribution

* Add nuget to path

* Package nuget on windows

* Add schannel builds, update licenses

* Add commit hash to package

* Insert repo url into package
2021-08-09 10:39:46 -07:00
Thad House 9b074f5fb8
Reset distribution stages to what worked before separate pipeline testing (#1882) 2021-08-09 09:15:46 -07:00
Thad House 83d962c43f
Fix third party notices missing from OpenSSL packaging (#1883) 2021-08-06 16:48:45 -07:00
Thad House 7941421699
Return ABORTED if a stream is opened or started after the connection has been shutdown (#1875)
* Return ABORTED if a stream is opened or started after the connection has been shutdown

* Simplify PR
2021-08-06 13:07:13 -07:00
Thad House 80919296a5
Fix official onebranch builds having incorrect yaml (#1880) 2021-08-05 12:40:49 -07:00
Thad House 801132a6cf
Add distribution stage to onebranch builds (#1879)
* Start work on distribution

* yaml

* Another try

* Some more updates

* Fix package distribution

* Another join path fix

* Another fix

* Add all other builds

* Add distribution step to pipeline

* Fix indentation

* Adds tests yml

* Package distribution zips in public pipeline

* Fix trigger

* Another try

* Fixup trigger

* Another attempt at triggering tests

* Try again
2021-08-05 12:08:01 -07:00
Thad House e2a76f3d0e
Bump GNU toolchains minimum cmake version to 3.6 (#1878)
Removes a warning that currently exists during the raspberry pi build
2021-08-04 12:24:35 -07:00
Thad House dcad91e894
Add minimum compiler requirements for CI builds (#1876)
* Add minimum compiler requirements for CI builds

For builds coming out of our CI, we want a minimum set up required flags and definitions, both for compliance and performance reasons. On linux, these checks are properly handled if missing at runtime, but we want them there in the binaries we build

* Fixup checks

* Clean up linux a bit

* Fix build, add lttng check
2021-08-04 11:58:46 -07:00
Thad House 97dc7bb5ad
Rename onebranch kernel build script (#1877)
Muscle memory has me hitting tab once to access build.ps1. However, build-kernel.cmd is higher in the sort order when just b is entered. Rename the script to fix this
2021-08-04 11:26:57 -07:00
Anthony Rossi baefc0b247
Add support for tracking process owning connection. (#1865) 2021-08-04 00:14:52 -07:00
Nick Banks dcb1bd4730
Update README.md (#1867) 2021-08-03 16:26:44 -07:00
Thad House 515798e59f
Switch vpack tasks to use public azp image (#1872) 2021-08-03 14:48:31 -07:00
Thad House 26ee83d547
Configure OneBranch triggers (#1871) 2021-08-03 14:09:36 -07:00
Thad House 58448d1003
Add onebranch pipelines (#1869)
* Adding OneBranch pipeline YAML config
2021-08-03 12:22:09 -07:00
Thad House 891650e905
Enable spectre and guard:cf for windows user mode builds (#1854)
* Enable spectre and guard:cf for windows user mode builds

* Disable spectre with asan

* Pass /W3 to all tests

* Disable guard on openssl
2021-08-02 16:04:55 -07:00
Thad House 0ca482fb4c
Remove disable of SAL for MIB structs (#1864)
The bug is actually in SAL rather than in the MIB structs. So work around the issue by grabbing a local copy of the interation variable, which works around the warning
2021-08-02 16:01:41 -07:00
Thad House a5cbcbd9d4
General build cleanups and speedups (#1863)
Remove excess prints from static builds
Remove gmock and gtest_main from builds
Allow using alternate build systems on windows builds with warning about dev command promt
Tested with VS 2022. Default is still 2019. Might add an option later to automatically detect 2022
2021-07-29 17:06:10 -07:00
Thad House ca3d297a36
Fix Openssl build with ninja on windows (#1862) 2021-07-29 10:12:16 -07:00
TimTim 30a01b3ec1
Add notes for targeting Windows ARM64 OpenSSL (#1859)
* Add notes for targeting Windows ARM64 OpenSSL

* Fix grammar
2021-07-29 08:42:34 -05:00
Nick Banks 480daf11e7
Update to v1.7 (#1858) 2021-07-28 18:19:20 -05:00
Nick Banks fdcc086a2d
Release 1.6 Docs (#1857) 2021-07-28 16:51:56 -05:00
Tomas Weinfurt 8f74f851a6
ignore validation failures with NO_CERTIFICATE_VALIDATION (#1728) 2021-07-28 16:29:13 -05:00
Nick Banks d617d1ecdd
Add Ack Freq to Readme as Supported Doc (#1856) 2021-07-28 15:02:38 -05:00
Thad House fd87ac3354
Fix invalid path warning in linux build (#1855) 2021-07-28 08:46:57 -07:00