Skip to content

Commit 42df50d

Browse files
hikoz1st1
authored andcommitted
backlog should be passed to create_unix_server
`backlog` parameter is not only for tcp server.
1 parent 64b7911 commit 42df50d

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
@@ -1636,7 +1636,7 @@ cdef class Loop:
16361636
raise ValueError(
16371637
'host/port and sock can not be specified at the same time')
16381638
return await self.create_unix_server(
1639-
protocol_factory, sock=sock, ssl=ssl)
1639+
protocol_factory, sock=sock, backlog=backlog, ssl=ssl)
16401640

16411641
server = Server(self)
16421642

0 commit comments

Comments
 (0)