diff options
author | vnugent <public@vaughnnugent.com> | 2023-03-04 01:55:47 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-03-04 01:55:47 -0500 |
commit | 330ed1688b01d9022bdcf1a5edbb29d33b5e5464 (patch) | |
tree | f958d3ffa74abf06931597da2a8d72aa52bdcd04 /lib/Net.Http | |
parent | f57575471846e13060f5f01be8dc6c5ffcb905d2 (diff) |
Minors, pre-stage
Diffstat (limited to 'lib/Net.Http')
-rw-r--r-- | lib/Net.Http/src/Core/HttpServerBase.cs | 4 | ||||
-rw-r--r-- | lib/Net.Http/src/Core/Response/HttpResponse.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/Net.Http/src/Core/HttpServerBase.cs b/lib/Net.Http/src/Core/HttpServerBase.cs index d3f5e00..3daa3cc 100644 --- a/lib/Net.Http/src/Core/HttpServerBase.cs +++ b/lib/Net.Http/src/Core/HttpServerBase.cs @@ -1,5 +1,5 @@ /* -* Copyright (c) 2022 Vaughn Nugent +* Copyright (c) 2023 Vaughn Nugent * * Library: VNLib * Package: VNLib.Net.Http @@ -216,7 +216,7 @@ namespace VNLib.Net.Http { StopToken = CancellationTokenSource.CreateLinkedTokenSource(token); //Start servers with the new token source - Transport.Start(token); + Transport.Start(StopToken.Token); //Start the listen task return Task.Run(ListenWorkerDoWork, token); } diff --git a/lib/Net.Http/src/Core/Response/HttpResponse.cs b/lib/Net.Http/src/Core/Response/HttpResponse.cs index ab0971d..69ef2f1 100644 --- a/lib/Net.Http/src/Core/Response/HttpResponse.cs +++ b/lib/Net.Http/src/Core/Response/HttpResponse.cs @@ -1,5 +1,5 @@ /* -* Copyright (c) 2022 Vaughn Nugent +* Copyright (c) 2023 Vaughn Nugent * * Library: VNLib * Package: VNLib.Net.Http @@ -220,7 +220,7 @@ namespace VNLib.Net.Http.Core } [MethodImpl(MethodImplOptions.AggressiveInlining)] - protected void Check() + void Check() { if (HeadersSent) { |