[erlang-questions] Bug? inet:listen_options discards extra raw options?
Roger Lipscombe
roger@REDACTED
Wed Mar 26 14:00:07 CET 2014
On 25 March 2014 16:55, Roger Lipscombe <roger@REDACTED> wrote:
> When I run strace, I see only one setsockopt call corresponding to
> only one of my raw options.
In inet:add_opt/4, there's a call to lists:keydelete/3. This has the
effect of removing duplicate options from #listen_opts.opts. However,
differing raw options aren't duplicates.
This _has_ to be a bug.
More information about the erlang-questions
mailing list