Skip to content

Socket#setsockopt broken with nil or false value. #1460

@ioquatix

Description

@ioquatix

If optval is false, it would fail to match correctly. Proposed fix:

  def setsockopt(level_or_option, optname = nil, optval = nil)
    if level_or_option and optname

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions