Skip to content

Commit 40ad257

Browse files
hikoz1st1
authored andcommitted
backlog should be passed to create_unix_server
`backlog` parameter is not only for tcp server.
1 parent dcbb1f4 commit 40ad257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uvloop/loop.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ cdef class Loop:
16221622
raise ValueError(
16231623
'host/port and sock can not be specified at the same time')
16241624
return await self.create_unix_server(
1625-
protocol_factory, sock=sock, ssl=ssl)
1625+
protocol_factory, sock=sock, backlog=backlog, ssl=ssl)
16261626

16271627
server = Server(self)
16281628

0 commit comments

Comments
 (0)