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
03391aab
Commit
03391aab
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_RCVTIMEO value in accept_socket().
parent
418dff0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sock.c
dlls/ws2_32/tests/sock.c
+1
-2
sock.c
server/sock.c
+1
-0
No files found.
dlls/ws2_32/tests/sock.c
View file @
03391aab
...
...
@@ -4828,8 +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
==
6
)
ok
(
value
==
int_tests
[
i
].
value
,
"test %u: got value %#x
\n
"
,
i
,
value
);
ok
(
value
==
int_tests
[
i
].
value
,
"test %u: got value %#x
\n
"
,
i
,
value
);
}
len
=
sizeof
(
linger
);
...
...
server/sock.c
View file @
03391aab
...
...
@@ -2002,6 +2002,7 @@ static struct sock *accept_socket( struct sock *sock )
acceptsock
->
sndbuf
=
sock
->
sndbuf
;
acceptsock
->
rcvbuf
=
sock
->
rcvbuf
;
acceptsock
->
sndtimeo
=
sock
->
sndtimeo
;
acceptsock
->
rcvtimeo
=
sock
->
rcvtimeo
;
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