Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
418dff0c
Commit
418dff0c
authored
Dec 12, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Dec 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Inherit the SO_SNDTIMEO value in accept_socket().
parent
1ef2cc0f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
sock.c
dlls/ws2_32/tests/sock.c
+1
-1
sock.c
server/sock.c
+1
-0
No files found.
dlls/ws2_32/tests/sock.c
View file @
418dff0c
...
...
@@ -4828,7 +4828,7 @@ static void test_accept_inheritance(void)
len
=
sizeof
(
value
);
ret
=
getsockopt
(
server
,
int_tests
[
i
].
optname
,
int_tests
[
i
].
optval
,
(
char
*
)
&
value
,
&
len
);
ok
(
!
ret
,
"test %u: got error %u
\n
"
,
i
,
WSAGetLastError
());
todo_wine_if
(
i
>=
5
&&
i
<
=
6
)
todo_wine_if
(
i
=
=
6
)
ok
(
value
==
int_tests
[
i
].
value
,
"test %u: got value %#x
\n
"
,
i
,
value
);
}
...
...
server/sock.c
View file @
418dff0c
...
...
@@ -2001,6 +2001,7 @@ static struct sock *accept_socket( struct sock *sock )
acceptsock
->
exclusiveaddruse
=
sock
->
exclusiveaddruse
;
acceptsock
->
sndbuf
=
sock
->
sndbuf
;
acceptsock
->
rcvbuf
=
sock
->
rcvbuf
;
acceptsock
->
sndtimeo
=
sock
->
sndtimeo
;
acceptsock
->
connect_time
=
current_time
;
if
(
sock
->
event
)
acceptsock
->
event
=
(
struct
event
*
)
grab_object
(
sock
->
event
);
...
...
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