Skip to content

Commit 4aac6ff

Browse files
authored
Merge pull request #249 from Tim-Zhang/modify-accept-poll-timeout
Update timeout to infinite for poll of accept
2 parents 663d4d7 + dc6b697 commit 4aac6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sync/sys/unix/net.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ impl PipeListener {
101101
libc::poll(
102102
pollers as *mut _ as *mut libc::pollfd,
103103
pollers.len() as _,
104-
POLL_MAX_TIME,
104+
-1,
105105
)
106106
};
107107

0 commit comments

Comments
 (0)