[erlang-questions] listen() backlog limited to 16 bits?
Steven Grady
sgrady@REDACTED
Mon Apr 27 19:30:19 CEST 2009
On a Linux system, the listen backlog is a 32-bit int. But both the
Erlang library (prim_inet:listen/2) and the erts
(inet_drv.c:tcp_inet_ctl()) constrain it to 16 bits.
The documentation of gen_tcp says simply that it is an "integer", with
no mention of the 16-bit limitation.
As Erlang starts to reside in the world of massively-scaled web
servers, 16 bits seems to be unnecessary and ill-chosen limitation.
Is there any plan to fix this?
Steven
More information about the erlang-questions
mailing list