Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f07757a

Browse files
CIPopstephentoub
authored andcommitted
Fixing initialization issue for IOCP handle. (#20374)
1 parent 17ce587 commit f07757a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Net.HttpListener/src/System/Net/Windows/HttpListener.Windows.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ internal unsafe DisconnectAsyncResult(HttpListener httpListener, ulong connectio
19151915
_httpListener = httpListener;
19161916
_connectionId = connectionId;
19171917
// we can call the Unsafe API here, we won't ever call user code
1918-
_nativeOverlapped = httpListener._requestQueueBoundHandle.AllocateNativeOverlapped(s_IOCallback, state: this, pinData: null);
1918+
_nativeOverlapped = httpListener.RequestQueueBoundHandle.AllocateNativeOverlapped(s_IOCallback, state: this, pinData: null);
19191919
}
19201920

19211921
internal bool StartOwningDisconnectHandling()

0 commit comments

Comments
 (0)