Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2600ccf2
Commit
2600ccf2
authored
Oct 01, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Use IOCTL_AFD_ACCEPT_INTO.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ea038894
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
socket.c
dlls/ws2_32/socket.c
+5
-7
No files found.
dlls/ws2_32/socket.c
View file @
2600ccf2
...
...
@@ -2517,13 +2517,11 @@ static NTSTATUS WS2_async_accept( void *user, IO_STATUS_BLOCK *iosb, NTSTATUS st
if
(
status
==
STATUS_ALERTED
)
{
SERVER_START_REQ
(
accept_into_socket
)
{
req
->
lhandle
=
wine_server_obj_handle
(
wsa
->
listen_socket
);
req
->
ahandle
=
wine_server_obj_handle
(
wsa
->
accept_socket
);
status
=
wine_server_call
(
req
);
}
SERVER_END_REQ
;
obj_handle_t
accept_handle
=
wine_server_obj_handle
(
wsa
->
accept_socket
);
IO_STATUS_BLOCK
io
;
status
=
NtDeviceIoControlFile
(
wsa
->
listen_socket
,
NULL
,
NULL
,
NULL
,
&
io
,
IOCTL_AFD_ACCEPT_INTO
,
&
accept_handle
,
sizeof
(
accept_handle
),
NULL
,
0
);
if
(
NtStatusToWSAError
(
status
)
==
WSAEWOULDBLOCK
)
return
STATUS_PENDING
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment