Skip to content
Open

665 #15

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Unhinged/Engine/Connection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Unhinged;
public unsafe class Connection : IDisposable
{
/// <summary>Read window: bytes are valid in [<see cref="Head"/> ... <see cref="Tail"/>)</summary>
public int Head, Tail;
public int Head, Tail = 0;

/// <summary>Base pointer for the receiving slab.</summary>
public readonly byte* ReceiveBuffer;
Expand Down
2 changes: 1 addition & 1 deletion Unhinged/Engine/UnhingedEngine.Worker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ private static unsafe void WorkerLoop(Worker W)
/// The receiving window is compacted when partial data remains.
/// Returns true if any response data was staged and should be flushed.
/// </summary>
private static async ValueTask TryParseRequests(
private static async Task TryParseRequests(
Connection connection,
int fd,
Worker W,
Expand Down
Loading